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>
广告