Font Awesome 交通图标:车辆、别名与出行数据
保留17个交通入口,明确固定图形不提供定位或路线能力。
学完这一章,你能够
- 保留17个交通入口,明确固定图形不提供定位或路线能力。
- 保留17个交通入口,明确固定图形不提供定位或路线能力。
完整车辆集合
车辆、出租、单车、公交、卡车、摩托、飞机、火箭、航天器、船、地铁、火车、救护车及轮椅等全部保留。automobile/car、cab/taxi等旧别名映射同字形,不把不同拼写误计为独立轮廓。
轮椅图形可作无障碍出行提示,但实际设施状况需要可靠现场信息。静态车辆标志不提供速度、班次、实时位置或路线规划。
有文字的出行提示
图标旁保留交通方式名称,重要时间和方向用文字说明。不同地区的轮廓习惯可能不同,不让用户只凭一个符号猜测真实服务。
完整类名、字体码位与别名
| 类名(4.7.0) | 私用区码位 | 同字形类名 | 使用条件 |
| fa-ambulance | U+F0F9 | fa-ambulance | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-automobile | U+F1B9 | fa-automobile / fa-car | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-bicycle | U+F206 | fa-bicycle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-bus | U+F207 | fa-bus | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-cab | U+F1BA | fa-cab / fa-taxi | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-car | U+F1B9 | fa-automobile / fa-car | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-fighter-jet | U+F0FB | fa-fighter-jet | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-motorcycle | U+F21C | fa-motorcycle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-plane | U+F072 | fa-plane | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-rocket | U+F135 | fa-rocket | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-ship | U+F21A | fa-ship | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-space-shuttle | U+F197 | fa-space-shuttle | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-subway | U+F239 | fa-subway | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-taxi | U+F1BA | fa-cab / fa-taxi | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-train | U+F238 | fa-train | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-truck | U+F0D1 | fa-truck | fa基础类与4.7.0字体同时加载;具体含义结合文字 |
| fa-wheelchair | U+F193 | fa-wheelchair | 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-transportation"><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-ambulance:单项图标与外观
展开查看收起
<!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-transportation"><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+F0F9,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-automobile:单项图标与外观
展开查看收起
<!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-transportation"><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+F1B9,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-bicycle:单项图标与外观
展开查看收起
<!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-transportation"><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+F206,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-bus:单项图标与外观
展开查看收起
<!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-transportation"><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+F207,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-cab:单项图标与外观
展开查看收起
<!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-transportation"><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+F1BA,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-car:单项图标与外观
展开查看收起
<!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-transportation"><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+F1B9,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-fighter-jet:单项图标与外观
展开查看收起
<!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-transportation"><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+F0FB,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-motorcycle:单项图标与外观
展开查看收起
<!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-transportation"><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+F21C,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-plane:单项图标与外观
展开查看收起
<!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-transportation"><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+F072,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-rocket:单项图标与外观
展开查看收起
<!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-transportation"><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+F135,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-ship:单项图标与外观
展开查看收起
<!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-transportation"><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+F21A,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-space-shuttle:单项图标与外观
展开查看收起
<!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-transportation"><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+F197,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-subway:单项图标与外观
展开查看收起
<!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-transportation"><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+F239,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-taxi:单项图标与外观
展开查看收起
<!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-transportation"><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+F1BA,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-train:单项图标与外观
展开查看收起
<!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-transportation"><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+F238,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-truck:单项图标与外观
展开查看收起
<!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-transportation"><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+F0D1,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
fa-wheelchair:单项图标与外观
展开查看收起
<!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-transportation"><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+F193,实际加载FontAwesome
- 该类名的两个选择入口均有效;48/60px及红色实际生效
本章附件与实例包
常见错误与边界检查
- 只检查class而没有核对字体真实加载。
- 把图标、别名、业务状态或现代版本兼容性混为一谈。
技术规范与官方资料
练习与参考解答
查看参考解答
比较::before码位、实际字体加载、计算字号/颜色与文本名称;图标不实现相关业务,人工视觉和辅助技术另验。