Home › Forums › CSS › help with css sprite › Re: help with css sprite
January 18, 2011 at 1:04 am
#65445
Member
#contactList a{
display: block;
background: url(../images/social.png) no-repeat 0 0 left top;
width: 200px;
height: 32px;
}
#mail:hover{
background-position: -15px -20px;
}
#contactList.phone a:hover{
background-position: -25px -10px;
}
I’ve obviously used random numbers for the background position as I don’t have the sprite.