Web Icon(图标) - 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-保存custom"></i>  
    <i class="fa fa-剪刀定制"></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-heigh 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>