Skip to content

Instantly share code, notes, and snippets.

@darren131
Created July 10, 2012 04:01
Show Gist options
  • Save darren131/3080923 to your computer and use it in GitHub Desktop.
Save darren131/3080923 to your computer and use it in GitHub Desktop.
more compass sprites
// making use of width/height magic selectors
.icon-giant-killer-bear {
$width: icons-sprite-width(giant-killer-bear);
$height: icons-sprite-height(giant-killer-bear);
@include icons-sprite(giant-killer-bear);
@include size($width, $height);
margin: 0 4px 0 0;
vertical-align: text-bottom;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment