材质-导航图标


本章介绍了 Google 的(Material)导航图标的用法。假设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 的(Material)导航图标的用法和结果。将上述程序的 <body> 标记替换为表中给出的代码以获得相应的输出 -

用法 结果
<i class="material-icons custom">应用</i> 应用
<i class="material-icons custom">arrow_back</i> 返回箭头
<i class="material-icons custom">arrow_drop_down</i> 箭头下拉
<i class="material-icons custom">arrow_drop_down_circle</i> arrow_drop_down_circle
<i class="material-icons custom">arrow_drop_up</i> 向上箭头
<i class="material-icons custom">arrow_forward</i> 向前箭头
<i class="material-icons custom">取消</i> 取消
<i class="material-icons custom">检查</i> 查看
<i class="material-icons custom">chevron_left</i> 雪佛龙_左
<i class="material-icons custom">chevron_right</i> chevron_right
<i class="material-icons custom">关闭</i> 关闭
<i class="material-icons custom">expand_less</i> 无扩展
<i class="material-icons custom">expand_more</i> 展开更多
<i class="material-icons custom">全屏</i> 全屏
<i class="material-icons custom">全屏退出</i> 全屏退出
<i class="material-icons custom">菜单</i> 菜单
<i class="material-icons custom">more_horiz</i> 更多水平
<i class="material-icons custom">more_vert</i> 更多_垂直
<i class="material-icons custom">刷新</i> 刷新