android.moparisthebest.org/stylesheets/library/_sprite_hover.sass
2009-11-05 21:34:41 -06:00

4 lines
264 B
Sass

=sprite-column-hover-row(!col, !row_hover=2, !width=!sprite_default_size, !height=!sprite_default_size, !margin=!sprite_default_margin)
+sprite-position(!col, 1, !width, !height, !margin)
&:hover
+sprite-position(!col, !row_hover, !width, !height, !margin)