Created
March 13, 2012 04:09
-
-
Save nesterchung/2026675 to your computer and use it in GitHub Desktop.
CSS: background list style
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
@img-size: 10px; | |
@url:'list.gif'; | |
ul { | |
margin:0; | |
padding: 0; | |
list-style: none; | |
} | |
li{ | |
padding: 0 0 0 @img-size; | |
background-image: url(@url) no-repeat; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment