- 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 - 社交图标
- Material - 切换图标
- Bootstrap Glyphicons
- Bootstrap Glyphicons
- Bootstrap - 组件
- 网页图标实用资源
- 网页图标 - 快速指南
- 网页图标 - 实用资源
- 网页图标 - 讨论
Font Awesome - 文本编辑器图标
本章解释了 Font Awesome 文本编辑器图标的使用方法。假设custom是我们在下面示例中定义大小和颜色的 CSS 类名。
<html> <head> <link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"> <style> i.custom {font-size: 2em; color: gray;} </style> </head> <body> <i class = "fa fa-adjust custom"></i> </body> </html>
下表显示了 Font Awesome 文本编辑器图标的使用方法和结果。将上面程序的<body>标签替换成表中给出的代码,即可得到相应的输出:
使用方法 | 结果 |
---|---|
<i class="fa fa-align-center custom"></i> | |
<i class="fa fa-align-justify custom"></i> | |
<i class="fa fa-align-left custom"></i> | |
<i class="fa fa-align-right custom"></i> | |
<i class="fa fa-bold custom"></i> | |
<i class="fa fa-chain custom"></i> | |
<i class="fa fa-chain-broken custom"></i> | |
<i class="fa fa-clipboard custom"></i> | |
<i class="fa fa-columns custom"></i> | |
<i class="fa fa-copy custom"></i> | |
<i class="fa fa-cut custom"></i> | |
<i class="fa fa-dedent custom"></i> | |
<i class="fa fa-eraser custom"></i> | |
<i class="fa fa-file custom"></i> | |
<i class="fa fa-file-o custom"></i> | |
<i class="fa fa-file-text custom"></i> | |
<i class="fa fa-file-text-o custom"></i> | |
<i class="fa fa-files-o custom"></i> | |
<i class="fa fa-floppy-o custom"></i> | |
<i class="fa fa-font custom"></i> | |
<i class="fa fa-header custom"></i> | |
<i class="fa fa-indent custom"></i> | |
<i class="fa fa-italic custom"></i> | |
<i class="fa fa-link custom"></i> | |
<i class="fa fa-list custom"></i> | |
<i class="fa fa-list-alt custom"></i> | |
<i class="fa fa-list-ol custom"></i> | |
<i class="fa fa-list-ul custom"></i> | |
<i class="fa fa-outdent custom"></i> | |
<i class="fa fa-paperclip custom"></i> | |
<i class="fa fa-paragraph custom"></i> | |
<i class="fa fa-paste custom"></i> | |
<i class="fa fa-repeat custom"></i> | |
<i class="fa fa-rotate-left custom"></i> | |
<i class="fa fa-rotate-right custom"></i> | |
<i class="fa fa-save custom"></i> | |
<i class="fa fa-scissors custom"></i> | |
<i class="fa fa-strikethrough custom"></i> | |
<i class="fa fa-subscript custom"></i> | |
<i class="fa fa-table custom"></i> | |
<i class="fa fa-text-height custom"></i> | |
<i class="fa fa-text-width custom"></i> | |
<i class="fa fa-th custom"></i> | |
<i class="fa fa-th-large custom"></i> | |
<i class="fa fa-th-list custom"></i> | |
<i class="fa fa-underline custom"></i> | |
<i class="fa fa-undo custom"></i> | |
<i class="fa fa-unlink custom"></i> |
广告