回答

5

第1步:包括材料的图标样式。

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

第2步:

CSS代码:

.bullet li a:before { 
    font-family: "Material Icons"; 
    content: "\e5cc"; 
} 

说明:价值e5cc是,你看到了雪佛龙的代码。

enter image description here

+0

Btw。这个值/代码的名字是什么? – ellockie

0

试试这个。

.bullet li a:before { 
    font-family: FontAwesome; 
    content: "\f054"; 
} 

你可以参考here for content values

+0

记得设置FONT-FAMILY太:P – Medda86

+0

@ Medda86 ...是啊..你表示感谢... :) –

+0

感谢@BhavinShah,但那不是在使用Google Material Icons ... – Max

0

您可以使用此为RTL模式:

.bullet li a:before {content: '\E5CB';}