Posted By

michellebracken on 08/18/11


Tagged


Versions (?)

Background Images as List Bullets


 / 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.

  1. 1 ul {
  2. 2 list-style: none;
  3. 3 }
  4. 4 ul li {
  5. 5 background-image: url("path-to-your-image");
  6. 6 background-repeat: none;
  7. 7 background-position: 0 0.5em;
  8. 8 }

Report this snippet  

You need to login to post a comment.