Skip to content

Instantly share code, notes, and snippets.

View pablohart's full-sized avatar

Paul Hart pablohart

  • Grand Rapids, MI
View GitHub Profile
@pablohart
pablohart / ActualExample.css
Created January 12, 2012 22:20
compass sprite example
@import "icons/*.png";
h2 { @include icons-sprite(arrow-left-dark-green); }
@pablohart
pablohart / SpriteAlignCenter.sass
Created September 12, 2012 12:33
Compass Sprites
$sprites-nameofimage-position: 50%
h2
+sprites-sprite(nameofimage, $offset-x: 50%, $offset-y: 0px)
@pablohart
pablohart / SpriteAlignBottom.sass
Created September 12, 2012 12:39
Compass Sprites 2
h2
+sprites-horiz-sprite(nameofimage, $offset-y: 100%)