https://www.plusdesign.co.jp/blog/?p=3158
1 2 3 4 | li.”クラス名”:before { font-family: 'fontello' ; content: '表示するアイコンのUnicode' ; } |
表示するアイコンのUnicode
「demo.html」のページで、[show codes]
fontello-codes.css」を見る
0xe852
の
0x
は本来バックスラッシュでいれるようだ
マックでバックスラッシュは
\
オプション¥で入れれる
結果
.tagcloud a:before {
1 2 3 4 | font-family : 'fontello' ; content : '\e856' ; padding-right : 4px ; } |