sprites-rollover(image, width, height, count, h-offset = 0)
width: unit(width, px)
height: unit(height, px)
- background: transparent url(image) top left no-repeat;
+ background-image: url(image)
+ background-position: top left
+ background-repeat: no-repeat;
for n in (0...count)
&.n{n}
y = - (@height * n) - h-offset
// see sprites-rollover
sprites(image, height, count, h-offset = 0)
height: unit(height, px)
- background: transparent url(image) top left no-repeat;
+ background-image: url(image)
+ background-position: top left
+ background-repeat: no-repeat;
for n in (0...count)
&.n{n}
y = - (@height * n) - h-offset