Created
April 18, 2012 00:19
-
-
Save maxfenton/2410063 to your computer and use it in GitHub Desktop.
.@canarymason's SASS/COMPASS sprites presentation snippet
This file contains 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 "badges/*.png"; | |
$badges-sprite-dimensions: true; | |
// @include all-badges-sprites | |
$badges: clean-start code--viewer color drupal-ui-patterns; // and the rest of the relevant list items | |
.badges { | |
@include horizontal-list; | |
@include hide-text; | |
@each $badge in $badges { | |
.#{$badge] { | |
//@extend .badges=#{$badge}; | |
@include badges-sprite($badge); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment