Web Icon - Material - 文件图标

  • 简述

    本章介绍了 Google 的(材料)文件图标的用法。假设custom是我们定义大小和颜色的 CSS 类名,如下例所示。
    
    <!DOCTYPE html>
    <html>
       <head>
          <link href = "https://fonts.googleapis.com/icon?family=Material+Icons" rel = "stylesheet">
              
          <style>
             i.custom {font-size: 2em; color: green;}
          </style>
              
       </head>
         
       <body>
          <i class = "material-icons custom">accessibility</i>
       </body>
         
    </html>
    
    下表包含 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