/ Published in: CSS

Sometimes it’s nice to be able to use an image as a bullet instead of one of the supported list-style-types.
Expand |
Embed | Plain Text
1 ul { 2 list-style: none; 3 } 4 ul li { 5 background-image: url("path-to-your-image"); 6 background-repeat: none; 7 background-position: 0 0.5em; 8 }
You need to login to post a comment.