Ali iconfont font library: http://www.iconfont.cn
-
First register and log in
-
Select the icon library on the homepage
, then select the icon you want and add it to the shopping cart
-
Enter the shopping cart and choose to add to the project (if there is no project, enter → My Project → New Project)
My Project → New Project -
Download it locally (store it in the same directory as the project) and unzip it
to open the folder as follows
-
Click demo_index.html
There are three import methods, corresponding to the import steps
-
Simple practice
<font class method>
<symbol method>
results are as follows
-
The specific steps of the three methods are in demo_index.html