Custom li list-style with font-awesome icon
问题 I am wondering if it's possible to utilize font-awesome (or any other iconic font) classes to create a custom <li> list-style-type? I am currently using jQuery to do this, ie: $("li.myClass").prepend("<i class=\"icon-chevron-right\"></i>"); However, this doesn't style properly when the <li> text wraps across the page as it considers the icon to be part of the text, not the actual bullet-indicator. Any tips? 回答1: The CSS Lists and Counters Module Level 3 introduces the ::marker pseudo-element.