Skip to content

Commit

Permalink
Make sprite object usage a little clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Mar 7, 2013
1 parent c8831ad commit 0317729
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions objects/_sprite.scss
Expand Up @@ -21,7 +21,13 @@
*
* Where ‘’ might map to a star in your particular icon font.
*
* These all require extension in your theme stylesheet.
* These all require extension in your theme stylesheet, e.g. in your own CSS:
*
.sprite{
background-image:url(path/to/your/sprite.png);
}
.sprite--link{ background-position:0 0 ; }
.sprite--star{ background-position:0 -16px; }
*
* Demo: jsfiddle.net/inuitcss/6TKuS
*
Expand All @@ -44,7 +50,6 @@
text-align:center;
}
.sprite{
background-image:url(/path/to/your/sprite.png);
/**
* The typical size of most icons. Override in your theme stylesheet.
*/
Expand Down

0 comments on commit 0317729

Please sign in to comment.