Font Awesome医疗图标



本章解释了Font Awesome医疗图标的使用方法。假设custom是我们在下面示例中定义大小和颜色的CSS类名。

<html>
   <head>
      <link rel = "stylesheet" href = "http://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-ambulance custom"></i>
<i class="fa fa-h-square custom"></i>
<i class="fa fa-heart custom"></i>
<i class="fa fa-heart-o custom"></i>
<i class="fa fa-heartbeat custom"></i>
<i class="fa fa-hospital-o custom"></i>
<i class="fa fa-medkit custom"></i>
<i class="fa fa-plus-square custom"></i>
<i class="fa fa-stethoscope custom"></i>
<i class="fa fa-user-md custom"></i>
<i class="fa fa-wheelchair custom"></i>
广告
© . All rights reserved.