Skip to content

Instantly share code, notes, and snippets.

@jackie
jackie / retina.scss
Created October 15, 2012 22:36 — forked from brianmcallister/retina.scss
Retina background image.
/*
Set a background image at 1x and 2x.
https://gist.github.com/3895807
@param {String} $name Image name.
@param {String} $ext File extension, e.g.: '.png'.
*/
@mixin retina-bg($name, $ext) {
@include squish-text;
$image: '#{$name}#{$ext}';