Font Awesome & Unicode

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

    You can also use the FontAwesome icon with the CSS3 pseudo selector as shown below.

    Ensure to set the font-family to FontAwesome as shown below:

    table.dataTable thead th.sorting:after {font-family: FontAwesome;}
    

    To get the above working, you must do the following:

    1. Download the FontAwesome css library here FontAwesome v4.7.0
    2. Extract from the zip file and include into your app root folder, the two folders as shown below:
    3. Reference only the css folder in the section of your app as shown below:

提交回复
热议问题