Font Awesome 音视频图标:播放控制与媒体状态
覆盖20个控制相关入口,保留图标与真实媒体能力的区别。
学完这一章,你能够
- 覆盖20个控制相关入口,保留图标与真实媒体能力的区别。
- 覆盖20个控制相关入口,保留图标与真实媒体能力的区别。
所有控制符号
播放、暂停、停止、前后跳转、快进退、推出、全屏相关轮廓及YouTube播放标志都能逐项切换。图形只是UI,真实播放需要媒体元素或播放器API,并正确处理Promise失败。
pause-circle与stop-circle等填充/空心版本并非同一个业务状态。全屏图标也不会自动申请全屏权限,退出或失败时要同步按钮名称。
状态与可操作性
用button承载操作并给可理解的名称,播放变暂停时同步名称及状态;不要用无限旋转代替可观察的媒体状态。本例没有媒体文件或外部视频连接,不声称播放器已实现。
完整类名、字体码位与别名
| 类名(4.7.0) | 私用区码位 | 同字形类名 | 使用条件 |
| fa-arrows-alt | U+F0B2 | fa-arrows-alt | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-backward | U+F04A | fa-backward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-compress | U+F066 | fa-compress | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-eject | U+F052 | fa-eject | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-expand | U+F065 | fa-expand | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-fast-backward | U+F049 | fa-fast-backward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-fast-forward | U+F050 | fa-fast-forward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-forward | U+F04E | fa-forward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-pause | U+F04C | fa-pause | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-pause-circle | U+F28B | fa-pause-circle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-pause-circle-o | U+F28C | fa-pause-circle-o | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-play | U+F04B | fa-play | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-play-circle | U+F144 | fa-play-circle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-play-circle-o | U+F01D | fa-play-circle-o | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-step-backward | U+F048 | fa-step-backward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-step-forward | U+F051 | fa-step-forward | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-stop | U+F04D | fa-stop | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-stop-circle | U+F28D | fa-stop-circle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-stop-circle-o | U+F28E | fa-stop-circle-o | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-youtube-play | U+F16A | fa-youtube-play | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
本章独立核心源码与验证步骤
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- 所有本章类名有真实非空::before内容并使用已加载FontAwesome字体
- 选择器、逐项按钮、字号和颜色改变真实图标,搜索反馈准确且输入不执行为HTML
fa-arrows-alt:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F0B2,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-backward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F04A,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-compress:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F066,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-eject:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F052,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-expand:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F065,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-fast-backward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F049,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-fast-forward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F050,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-forward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F04E,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-pause:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F04C,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-pause-circle:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F28B,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-pause-circle-o:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F28C,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-play:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F04B,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-play-circle:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F144,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-play-circle-o:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F01D,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-step-backward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F048,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-step-forward:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F051,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-stop:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F04D,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-stop-circle:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F28D,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-stop-circle-o:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F28E,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-youtube-play:单项图标与外观
展开查看收起
<!DOCTYPE html>
<html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Font Awesome 音视频图标:播放控制与媒体状态 | 蓝色天空网</title><link rel="stylesheet" href="vendor/css/font-awesome.css"><link rel="stylesheet" href="lab.css"></head><body data-chapter="fontawesome-icons-video"><header><a href="index.html">蓝色天空网 · mbsky.com · 本地学习实例</a></header><main><h1>Font Awesome 音视频图标:播放控制与媒体状态</h1><p>固定Font Awesome4.7.0。本页仅查看图标,不执行付款、播放、编辑等业务。</p><section class="demo-box"><label>选择类名<select id="icon-choice"></select></label><label>字号<select id="size"><option>24</option><option>48</option><option>60</option></select>px</label><label>颜色<input id="color" type="color" value="#2563eb"></label><p><span id="selected-icon" aria-hidden="true"></span> <strong id="selected-name"></strong> <span id="point"></span></p><pre id="markup"></pre><p id="selection-status" role="status"></p></section><label>搜索类名<input id="search" type="search" autocomplete="off"></label><p id="search-status" role="status"></p><table><thead><tr><th>真实字形</th><th>类名</th><th>私用区码位</th><th>同字形类名</th><th>逐项查看</th></tr></thead><tbody id="icons"></tbody></table><p>码位及字体加载观察不等于所有图标的人工视觉、含义或辅助技术验收。</p><script type="module" src="gallery.js"></script></main></body></html>
查看独立实例 ↗ 在独立页面查看源码、运行环境与工程包
- ::before为U+F16A,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
本章附件与实例包
常见错误与边界检查
- 只检查class而没有核对字体真实加载。
- 把图标、别名、业务状态或现代版本兼容性混为一谈。
技术规范与官方资料
练习与参考解答
查看参考解答
比较::before码位、实际字体加载、计算字号/颜色与文本名称;图标不实现相关业务,人工视觉和辅助技术另验。