Compass - Sprites
Sprite is a collection of images put into a single image.
Sprites are used to decrease number of requests to server from the users
If you created your website properly the most useful layout setting for sprite is smart.
_hover: In order to create automatically :hover styles in your output CSS for the image you type after the name of image
In order to create width and height for all images inside the sprite you use variable called $-sprite-dimensions
Sprites are used to decrease number of requests to server from the users
If you created your website properly the most useful layout setting for sprite is smart.
_hover: In order to create automatically :hover styles in your output CSS for the image you type after the name of image
In order to create width and height for all images inside the sprite you use variable called $-sprite-dimensions