
Create List Icon Use Css and Fontawesome
April 18, 2020
When we need to create some list style use icon fontawesome, we can just use this snippet:
<ul>
<li>List text 1</li>
<li>List text 2</li>
<li>List text 3</li>
</ul>
ul li{list-style-type: none;}
ul li:before {
font-family: 'FontAwesome';
content: '\f067';
margin:0 5px 0 -25px;
color: #f00;
}