Created
February 12, 2013 19:16
-
-
Save About2git/4772497 to your computer and use it in GitHub Desktop.
CSS: ul bulletpoint with sprited Image
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
ul li{ | |
margin-bottom: 10px; | |
padding-left:10px; | |
} | |
ul li:before{ | |
background:url("img/spriteNAME.png") no-repeat XXpx XXpx; | |
width:XXpx; | |
height:XXpx; | |
content: "\00a0";/*leaving it empty, makes it disbehave: webkit vs. firefox*/ | |
padding-left: 5px; | |
margin-left:-15px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment