Font awesome not working in Firefox

前端 未结 8 1737
旧巷少年郎
旧巷少年郎 2020-12-02 17:38

I\'m using bootstrap and I added font awesome through Less, overriding the Glyphicons. The icons display OK in chrome but in Firefox i just see boxes.

This is how my

8条回答
  •  [愿得一人]
    2020-12-02 18:16

    Using a CDN as premjg suggested is the least invasive method besides hosting it yourself. The latest version of fontawesome suggests bootstrapcdn, e.g.,

    As a minor note, noscript silently blocks requests to the CDN unless whitelisted, and it won't prompt you to whitelist the CDN unless your page also requests JS files from the same domain.

提交回复
热议问题