diff options
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -171,9 +171,10 @@ Examples background: $icons; } @each $icon in sprites($icons) { + $icon_file: sprite-file($icons, $icon); div .$icon { - width: image-width(sprite-file($icons, $icon)); - height: image-height(sprite-file($icons, $icon)); + width: image-width($icon_file); + height: image-height($icon_file); background-position: sprite-position($icons, $icon); } } |