Skip to content

Instantly share code, notes, and snippets.

@roybarber
Created February 3, 2013 16:12
Show Gist options
  • Save roybarber/4702339 to your computer and use it in GitHub Desktop.
Save roybarber/4702339 to your computer and use it in GitHub Desktop.
Gist of to compile sprites via compass/sass
// demo sprite generation - edit core with the name of the folder you wish to use
// This tells compass to also print out the width & height into the css
$core-sprite-dimensions: true;
// Folder and file type to watch
@import "core/*.png";
// Include Sprites ito stylesheet
@include all-core-sprites;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment