fontawesome中提供了很多各式各样的icon,可以用来增加网页的美观性。
使用方法:
1)在index.html的head部分添加:
<linkrel="stylesheet"href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"crossorigin="anonymous">
2)在https://fontawesome.com/icons?d=gallery寻找适合的icon对应的名称,在对应地方添加icon=”icon name”