Font awesome is not showing icon

后端 未结 30 1216
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 06:03

I am using Font Awesome and do not wish to add CSS with HTTP. I downloaded Font Awesome and included it in my code, yet Font Awesome is showing a bordered square box instead

30条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 07:01

    First, check that you have class="fa" as well as whatever the icon's class is. So, not just

    
    

    But also

     
    

    Then it works as expected. This solved my issue.

提交回复
热议问题