3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

FontAwesomeをCSS疑似要素で表示しようとすると豆腐(四角)になる。

Posted at

経緯

2019/10/24現在、fontawesome ver.5.11.2のアイコンをCSS疑似要素で表示しようとしても豆腐になってしまいます。HTMLでは表示できるのですが、CSS疑似要素ではどうしても表示できません。font-weight,font-family,文字コードの再確認、ドキュメントの内容を1通り試すも豆腐でした。

解決

font-familyを"Font Awesome 5 Pro"にすることで表示することができました。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?