蓝色天空网mbsky.com · 知识 · 实践 · 创造Font Awesome · 本地阅读预览
教程 / 前端开发 / Font Awesome

Font Awesome 医疗图标:场景提示与内容边界

保留医疗类名逐项入口,避免把图标当专业身份或真实健康结论。

本站独立整理的内容草稿。实例显示的是预期结果;浏览器、服务端运行与技术内容验收尚待完成,本页只用于阅读和图文核对。

学完这一章,你能够

可识别的医疗场景

ambulance、hospital-o、medkit、stethoscope、user-md、心形及heartbeat等共11个入口保留。plus-square也出现在其他分类,交叉分类不代表重复文件应被删除。

字形仅作界面提示,不代表实际医师资质、机构认证、急救服务可用或监测读数。文字、地址及服务信息由业务数据负责,本章没有医疗判断功能。

识别与可访问性

每项提供类名和选择入口,装饰图标不重复朗读,重要状态用真实文字。页面路径保持既有稳定记录,即使历史文件名存在额外字母,也不擅自改写旧地址。

完整类名、字体码位与别名

类名(4.7.0)私用区码位同字形类名使用条件
fa-ambulanceU+F0F9fa-ambulancefa基础类与4.7.0字体同时加载;具体含义结合文字
fa-h-squareU+F0FDfa-h-squarefa基础类与4.7.0字体同时加载;具体含义结合文字
fa-heartU+F004fa-heartfa基础类与4.7.0字体同时加载;具体含义结合文字
fa-heart-oU+F08Afa-heart-ofa基础类与4.7.0字体同时加载;具体含义结合文字
fa-heartbeatU+F21Efa-heartbeatfa基础类与4.7.0字体同时加载;具体含义结合文字
fa-hospital-oU+F0F8fa-hospital-ofa基础类与4.7.0字体同时加载;具体含义结合文字
fa-medkitU+F0FAfa-medkitfa基础类与4.7.0字体同时加载;具体含义结合文字
fa-plus-squareU+F0FEfa-plus-squarefa基础类与4.7.0字体同时加载;具体含义结合文字
fa-stethoscopeU+F0F1fa-stethoscopefa基础类与4.7.0字体同时加载;具体含义结合文字
fa-user-mdU+F0F0fa-user-mdfa基础类与4.7.0字体同时加载;具体含义结合文字
fa-wheelchairU+F193fa-wheelchairfa基础类与4.7.0字体同时加载;具体含义结合文字

本章独立核心源码与验证步骤

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
Font Awesome 医疗图标:场景提示与内容边界:本地运行

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • 所有本章类名有真实非空::before内容并使用已加载FontAwesome字体
  • 选择器、逐项按钮、字号和颜色改变真实图标,搜索反馈准确且输入不执行为HTML

fa-ambulance:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-ambulance:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0F9,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-h-square:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-h-square:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0FD,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-heart:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-heart:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F004,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-heart-o:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-heart-o:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F08A,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-heartbeat:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-heartbeat:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F21E,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-hospital-o:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-hospital-o:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0F8,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-medkit:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-medkit:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0FA,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-plus-square:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-plus-square:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0FE,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-stethoscope:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-stethoscope:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0F1,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-user-md:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-user-md:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F0F0,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

fa-wheelchair:单项图标与外观

html · 阅读源码
<!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="ffontawesome-icons-medical"><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>
fa-wheelchair:单项图标与外观

所需环境:Edge156.0.4314.58;Font Awesome4.7.0,本地HTTP字体及程序化DOM交互

当前源码 SHA256:4cd5886b8ad40947631cc93e7d0ad85505ddd6b9524b22e7b6d03757052b9fdb

预期结果 · 待实际运行核验
  • ::before为U+F193,实际加载FontAwesome
  • 该类名的两个选择入口均有效;48/60px及红色实际生效

常见错误与边界

  • 只检查class而没有核对字体真实加载。
  • 把图标、别名、业务状态或现代版本兼容性混为一谈。

练习与解答

选一个类名改变字号和颜色,并在停用字体时核对文字是否仍表达原意。

展开参考解答

比较::before码位、实际字体加载、计算字号/颜色与文本名称;图标不实现相关业务,人工视觉和辅助技术另验。

规范与官方依据