材质-文件图标 


材质-文件图标


本章介绍了Google(材料)文件图标的用法。假设custom是我们定义大小和颜色的CSS类名称,如下面的示例所示。

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
        
      <style>
         i.custom {font-size: 2em; color: green;}
      </style>
        
   
    
   
      <i class="material-icons custom">accessibility</i>
   
    

下表包含Google(材料)文件图标的用法和结果。用表中给出的代码替换上面程序的<body>标签,以获取相应的输出-

Usage Result
<i class=”material-icons custom”>attachment</i> attachment
<i class=”material-icons custom”>cloud</i> cloud
<i class=”material-icons custom”>cloud_circle</i> cloud_circle
<i class=”material-icons custom”>cloud_done</i> cloud_done
<i class=”material-icons custom”>cloud_download</i> cloud_download
<i class=”material-icons custom”>cloud_off</i> cloud_off
<i class=”material-icons custom”>cloud_queue</i> cloud_queue
<i class=”material-icons custom”>cloud_upload</i> cloud_upload
<i class=”material-icons custom”>file_download</i> file_download
<i class=”material-icons custom”>file_upload</i> file_upload
<i class=”material-icons custom”>folder</i> folder
<i class=”material-icons custom”>folder_open</i> folder_open
<i class=”material-icons custom”>folder_shared</i> folder_shared
0



error: 内容受到保护 !!