Skip to content

Instantly share code, notes, and snippets.

@nesterchung
Created March 13, 2012 04:09
Show Gist options
  • Save nesterchung/2026675 to your computer and use it in GitHub Desktop.
Save nesterchung/2026675 to your computer and use it in GitHub Desktop.
CSS: background list style
@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