Skip to content

Instantly share code, notes, and snippets.

@maxfenton
Created April 18, 2012 00:19
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxfenton/2410063 to your computer and use it in GitHub Desktop.
Save maxfenton/2410063 to your computer and use it in GitHub Desktop.
.@canarymason's SASS/COMPASS sprites presentation snippet
@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