Created
October 16, 2013 13:43
-
-
Save pzi/7007939 to your computer and use it in GitHub Desktop.
How to get each icon dimension when using compass sprites.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$test_icons-sprite-map: sprite-map("some-icons/*.png") | |
$test_icons-sprite-names: sprite-names($test_icons-sprite-map) | |
@each $name in $test_icons-sprite-names | |
.some-icon-#{$name} | |
@include sprite-dimensions($test_icons-sprite-map, $name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment