Web-icons-font-awesome-form-control-icons

提供:Dev Guides
移動先:案内検索

Font Awesome-フォームコントロールアイコン

この章では、Font Awesome Form Controlアイコンの使用方法について説明します。 以下の例に示すように、 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 Form Controlアイコンの使用法と結果を示しています。 上記のプログラムの<body>タグを表に記載されているコードに置き換えて、それぞれの出力を取得します-

使用法

結果

<i class = "fa fa-check-square custom"> </i>

__

<i class = "fa fa-check-square-o custom"> </i>

__

<i class = "fa fa-circle custom"> </i>

__

<i class = "fa fa-circle-o custom"> </i>

__

<i class = "fa fa-dot-circle-o custom"> </i>

__

<i class = "fa fa-minus-square custom"> </i>

__

<i class = "fa fa-minus-square-o custom"> </i>

__

<i class = "fa fa-plus-square custom"> </i>

__

<i class = "fa fa-plus-square-o custom"> </i>

__

<i class = "fa fa-square custom"> </i>

__

<i class = "fa fa-square-o custom"> </i>

__