Skip to content

Instantly share code, notes, and snippets.

@pablohart
Created January 12, 2012 22:20
Show Gist options
  • Save pablohart/1603493 to your computer and use it in GitHub Desktop.
Save pablohart/1603493 to your computer and use it in GitHub Desktop.
compass sprite example
@import "icons/*.png";
h2 { @include icons-sprite(arrow-left-dark-green); }
h2 {
background: url('icons/arrow-left-dark-green.png') no-repeat 10px 2px
}
@import "icons/*.png";
h2 { @include icons-sprite(arrow-left-dark-green, 10px 2px); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment