Commit 5fc3b1d5 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #17113 from JanStevens/v4-fix-retina-mixin

Fixes the _image mixing by prefixing the parameters with $
parents 0873e9af b7b8f98c
Showing with 2 additions and 2 deletions
+2 -2
......@@ -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;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment