Pure CSS Rollover

Submitted by:Jhon Jhon

Date added:15 April, 2013

Category:CSS

CSS Code for Pure Rollover

Tags: rollover

Code Snippet:

    <style type="text/css">
<!--
#div {
display: block;
width: 151px;
height: 30px;
background-image: url("image-name.jpg");
background-position: left top;
background-repeat: no-repeat;
}

#div:hover {
background-position: left bottom;
}

#div span {
display: none;
}
-->
</style>

<a id="div" href="#"><span>Description</span></a>
 
 

Comments