android.moparisthebest.org/source/stylesheets/library/_sprite_hover.sass

4 lines
264 B
Sass
Raw Normal View History

=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)