summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 380aba1..7fd1fd6 100644
--- a/README.rst
+++ b/README.rst
@@ -171,10 +171,9 @@ Examples
background: $icons;
}
@each $icon in sprites($icons) {
- $icon_file: sprite-file($icons, $icon);
div .$icon {
- width: image-width($icon_file);
- height: image-height($icon_file);
+ width: image-width(sprite-file($icons, $icon));
+ height: image-height(sprite-file($icons, $icon));
background-position: sprite-position($icons, $icon);
}
}