Ali font icon

Ali iconfont font library: http://www.iconfont.cn

  1. First register and log in

  2. Select the icon library on the homepage

    , then select the icon you want and add it to the shopping cart
    insert image description here

  3. Enter the shopping cart and choose to add to the project (if there is no project, enter → My Project → New Project)
    insert image description here
    My Project → New Projectinsert image description here

  4. Download it locally (store it in the same directory as the project) and unzip it
    insert image description here
    insert image description here
    to open the folder as follows
    insert image description here

  5. Click demo_index.html
    There are three import methods, corresponding to the import steps
    insert image description here
    insert image description here

  6. Simple practice
    <font class method>
    insert image description here
    insert image description here
    insert image description here
    <symbol method>
    insert image description here
    insert image description here
    insert image description here
    insert image description here
    insert image description here
    results are as follows
    insert image description here

  7. The specific steps of the three methods are in demo_index.html

Guess you like

Origin blog.csdn.net/qq_47229902/article/details/122395974