Created
November 6, 2013 15:47
-
-
Save procload/7338365 to your computer and use it in GitHub Desktop.
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
@import "logos/large/*.png"; | |
@include all-large-sprites; | |
@import "logos/small/*.png"; | |
@include all-small-sprites; | |
@import "logos/retina/*.png"; | |
@include all-retina-sprites; | |
@each $company in xom, xon, mobil, esso, xto { | |
.retina-#{$company} { | |
height: retina-sprite-height(#{$company}); | |
width: retina-sprite-width(#{$company}); | |
} | |
.large-#{$company} { | |
height: large-sprite-height(#{$company}); | |
width: large-sprite-width(#{$company}); | |
} | |
.small-#{$company} { | |
height: small-sprite-height(#{$company}); | |
width: small-sprite-width(#{$company}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment