Sprite Image in CSS

by Francis 2012-10-19 17:28:04

Sprite Image in CSS Code

Sprite Concept is Merge all image as a Single Image.

a
{
display: block;
background: url(sprite-img.png) no-repeat; /*Example that image display */
height: 50px
width: 100px;
}
a:hover
{
background-position: 0 -50px; /*Mouse over image position*/
}
1016
like
0
dislike
0
mail
flag

You must LOGIN to add comments