aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Stevens <[email protected]>2015-08-20 11:35:00 +0200
committerJan Stevens <[email protected]>2015-08-20 11:35:00 +0200
commitb7b8f98c862594e80c6d3a43972aefc686a92b43 (patch)
treebef0f15d7321d1238c0536e2c5a36a6106310d94
parent463837c1c7e1ef7737493037cbba16baa447c8f4 (diff)
downloadbootstrap-b7b8f98c862594e80c6d3a43972aefc686a92b43.tar.xz
bootstrap-b7b8f98c862594e80c6d3a43972aefc686a92b43.zip
Fixes the _image mixing by prefixing the parameters with $
-rw-r--r--scss/mixins/_image.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/mixins/_image.scss b/scss/mixins/_image.scss
index bec9626f6..e5ae10a3c 100644
--- a/scss/mixins/_image.scss
+++ b/scss/mixins/_image.scss
@@ -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;
}
}