Return to Snippet

Revision: 23860
at February 15, 2010 21:23 by landonmiller


Initial Code
<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>

Initial URL

                                

Initial Description

                                

Initial Title
Pure CSS Rollover

Initial Tags
css, image

Initial Language
CSS