Font Awesome & Unicode

后端 未结 15 1621
日久生厌
日久生厌 2020-12-04 14:01

I\'m using (the excellent) Font-Awesome in my site, and it\'s working fine, if I use it this way:


B

15条回答
  •  遥遥无期
    2020-12-04 14:43

    There are three different font families that I know of that you can choose from and each has its own weight element that needs to be applied:

    First

    font-family: 'Font Awesome 5 Brands'; content: "\f373";

    Second

    font-family: 'Font Awesome 5 Free'; content: "\f061"; font-weight: 900;

    Third

    font-family: 'Font Awesome 5 Pro';

    Reference here - https://fontawesome.com/how-to-use/on-the-web/advanced/css-pseudo-elements

    Hope this helps.

提交回复
热议问题