- Font Awesome
- Font Awesome 图标
- Font Awesome - 网页图标
- Font Awesome - 手势图标
- Font Awesome - 交通图标
- Font Awesome - 性别图标
- Font Awesome - 文件类型图标
- Font Awesome - 加载动画图标
- Font Awesome - 表单控件图标
- Font Awesome - 支付图标
- Font Awesome - 图表图标
- Font Awesome - 货币图标
- Font Awesome - 文本编辑器图标
- Font Awesome - 方向图标
- Font Awesome - 播放器图标
- Font Awesome - 品牌图标
- Font Awesome - 医疗图标
- Material Icons
- Material Icons
- Material - 操作图标
- Material - 警报图标
- Material - 音视频图标
- Material - 通信图标
- Material - 内容图标
- Material - 设备图标
- Material - 编辑器图标
- Material - 文件图标
- Material - 硬件图标
- Material - 图片图标
- Material - 地图图标
- 材料 - 导航图标
- Material - 通知图标
- Material - 社交图标
- Material - 切换图标
- Bootstrap Glyphicons
- Bootstrap Glyphicons
- Bootstrap - 组件
- 网页图标实用资源
- 网页图标 - 快速指南
- 网页图标 - 有用资源
- 网页图标 - 讨论
材料 - 导航图标
本章解释了 Google (Material) 导航图标的使用方法。假设 custom 是我们定义大小和颜色的 CSS 类名,如下例所示。
<!DOCTYPE html>
<html>
<head>
<link href = "https://fonts.googleapis.ac.cn/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">apps</i> | apps |
| <i class="material-icons custom">arrow_back</i> | arrow_back |
| <i class="material-icons custom">arrow_drop_down</i> | arrow_drop_down |
| <i class="material-icons custom">arrow_drop_down_circle</i> | arrow_drop_down_circle |
| <i class="material-icons custom">arrow_drop_up</i> | arrow_drop_up |
| <i class="material-icons custom">arrow_forward</i> | arrow_forward |
| <i class="material-icons custom">cancel</i> | cancel |
| <i class="material-icons custom">check</i> | check |
| <i class="material-icons custom">chevron_left</i> | chevron_left |
| <i class="material-icons custom">chevron_right</i> | chevron_right |
| <i class="material-icons custom">close</i> | close |
| <i class="material-icons custom">expand_less</i> | expand_less |
| <i class="material-icons custom">expand_more</i> | expand_more |
| <i class="material-icons custom">fullscreen</i> | fullscreen |
| <i class="material-icons custom">fullscreen_exit</i> | fullscreen_exit |
| <i class="material-icons custom">menu</i> | menu |
| <i class="material-icons custom">more_horiz</i> | more_horiz |
| <i class="material-icons custom">more_vert</i> | more_vert |
| <i class="material-icons custom">refresh</i> | refresh |
广告