Font Awesome & Unicode

后端 未结 15 1631
日久生厌
日久生厌 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:36

    Be sure to load the FontAwesome style before yours.

    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f007";
    

    You can find FontAwesome's explainations here: https://fontawesome.com/how-to-use/on-the-web/advanced/css-pseudo-elements

提交回复
热议问题