使用google api material icons在網頁中插入圖標


在<head></head>中加入這一句:

<link rel='stylesheet' href='http://fonts.googleapis.com/icon?family=Material+Icons' type='text/css'>

然后在body中加入:

<span class="sidenav-link-icon">
<i class="material-icons">videocam</i>
</span>

就可以插入一個攝像頭的圖標。

其他圖標可以從這個網頁中找:https://material.io/icons/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM