回答

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';}