Using the power of fixed-width styling, we added some utility styling to handle HTML lists with icons used as decorative bullets.
We’ll cover the basics of how to replace default bullets with icons in unordered lists and introduce options for customizing CSS properties.
Use fa-ul and fa-li to replace default bullets in unordered lists.
List icons can
be used to
replace bullets
in lists
You can also keep the semantics of an ordered list behind the scenes but use icon bullets visually.
List icons can
be used to
replace bullets
in ordered lists also
List Classes
Class
Details
fa-ul
Used on a <ul> or <ol> elements to style icons as list bullets
fa-li
Used on individual <li> elements to style icons as list bullets
Customization
We’ve added CSS custom properties to make customizing easier and more efficient. Define your own values for the following properties to override and customize Font Awesome’s defaults.