Fixes the _image mixing by prefixing the parameters with $

This commit is contained in:
Jan Stevens 2015-08-20 11:35:00 +02:00
parent 463837c1c7
commit b7b8f98c86
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
// Short retina mixin for setting background-image and -size.
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
background-image: url("#{file-1x}");
background-image: url($file-1x);
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
@ -27,7 +27,7 @@
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
background-image: url("#{file-2x}");
background-image: url($file-2x);
background-size: $width-1x $height-1x;
}
}