Font Awesome & Unicode

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

    I got a simillary problem using unicode and fontawesome. when i wrote :

    font-family: 'Font Awesome\ 5 Free';
    content: "\f061"; /* FontAwesome Unicode */
    

    On google chrome, a square appear instead of the icon. The new version of Font Awesome also requires

    font-weight: 900;
    

    That's work for me.

    From : https://github.com/FortAwesome/Font-Awesome/issues/11946

    Hope that's will help.

提交回复
热议问题