- 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">cake</i> | cake |
| <i class="material-icons custom">domain</i> | domain |
| <i class="material-icons custom">group</i> | group |
| <i class="material-icons custom">group_add</i> | group_add |
| <i class="material-icons custom">location_city</i> | location_city |
| <i class="material-icons custom">mood</i> | mood |
| <i class="material-icons custom">mood_bad</i> | mood_bad |
| <i class="material-icons custom">notifications</i> | notifications |
| <i class="material-icons custom">notifications_active</i> | notifications_active |
| <i class="material-icons custom">notifications_none</i> | notifications_none |
| <i class="material-icons custom">notifications_off</i> | notifications_off |
| <i class="material-icons custom">notifications_paused</i> | notifications_paused |
| <i class="material-icons custom">pages</i> | pages |
| <i class="material-icons custom">party_mode</i> | party_mode |
| <i class="material-icons custom">people</i> | people |
| <i class="material-icons custom">people_outline</i> | people_outline |
| <i class="material-icons custom">person</i> | person |
| <i class="material-icons custom">person_add</i> | person_add |
| <i class="material-icons custom">person_outline</i> | person_outline |
| <i class="material-icons custom">plus_one</i> | plus_one |
| <i class="material-icons custom">poll</i> | poll |
| <i class="material-icons custom">public</i> | public |
| <i class="material-icons custom">school</i> | school |
| <i class="material-icons custom">share</i> | share |
| <i class="material-icons custom">whatshot</i> | whatshot |
广告