Created
November 3, 2011 14:31
-
-
Save betweenbrain/1336627 to your computer and use it in GitHub Desktop.
Example Joomla 1.7 Menu Image Sprite CSS for Construct Template Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#nav ul.menu li a { | |
display:block; | |
text-indent: -999em; | |
width:55px; | |
height:46px; | |
background-image:url('../images/menu.png'); | |
background-repeat: no-repeat; | |
} | |
#nav ul.menu li.item-435 a{ | |
background-position: -170px 0.9px; | |
} | |
#nav ul.menu li.item-435 a:hover{ | |
background-position: -170px -56px; | |
} | |
#nav ul.menu li.item-435 a:active{ | |
background-position: -170px -112px; | |
} | |
#nav ul.menu li.item-294 a{ | |
background-position: -266px 0.9px; | |
} | |
#nav ul.menu li.item-294 a:hover{ | |
background-position: -266px -56px; | |
} | |
#nav ul.menu li.item-294 a:active{ | |
background-position: -266px -112px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment