Font Awesomeのメモ

Sponsored Link
ロリポップ!レンタルサーバー

 

本当にメモです。

Font Awesome

Font AwesomeThe internet's icon library + toolkit. Used by millions of designers, devs, & content creators. Open-source. Always free. Always awesome.
Font Awesome fontawesome.com
Font Awesome

さまざまなアイコンをWebフォントとして使う事の出来る仕組みで、個人利用・商用利用がOKなので安心。

使い方(ざっくり)

まずスタイルシートを読み込んで、

<link rel="stylesheet" href="/url-to-css/font-awesome.min.css">

表示したいところに以下のように記述。

<span class="fa fa-inbox"></span>

すると、その場所にアイコンが表示されます。

指定した、"fa-inbox"がアイコンの名前になりますが、無料で使えるアイコンだけでもかなりの数が使えます。

チートシートで確認してみてください。

Find the Perfect Icon for Your Project | Font AwesomeSearch all the icons and match your project with a look and feel that's just right, including the all-new Sharp Solid Icons, now available in Font Awesome 6.
Find the Perfect Icon for Your Project | Font Awesome fontawesome.com
Find the Perfect Icon for Your Project | Font Awesome

inboxはこんなアイコンです。

inboxのアイコン

 

 

デザインツールで使う時などはローカルにフォントをインストールすることも出来ます。

この辺はまたの機会に。


 

Sponsored Link