How to include local file of font awesome 4.1 without using CDN?

后端 未结 6 1137
时光取名叫无心
时光取名叫无心 2020-12-29 05:24

\"With This is the effect with font awesome, i only can get it when i using font awesome 4.1 CDN)

6条回答
  •  旧巷少年郎
    2020-12-29 05:44

    1. Download the fontawesome package from their website.
    2. Extract the package where you will find the fontawesome.css file.
    3. Copy this file to your css directory
    4. copy all the fonts files from the extracted fontawesome package to your fonts folder.
    5. Finally add the fontawesome.css to your html page by giving respective location of the css file.

    AND Voila !

提交回复
热议问题