?
Font Awesome is a font used to implement the icon CSS plugins.
How to use:
- to the http://fortawesome.github.io/Font-Awesome/ Download the code package.
- After extracting the code package locally, the structure is as follows
- referencing in Web pages Css/font-awesome.css or Css/font-awesome.min.css
Like what:
<link rel= ' stylesheet ', href= ' font-awesome-4.3.0/css/font-awesome.min.css '/>
- Display the icon in the Web page in the following way.
<i class= "FA Fa-camera" ></i>
The effect is as follows :
?
Since it is a font, you can control how the picture is displayed by changing attributes such as font color and font size.
<div> <i class= "fa fa-camera" style= "color:green;font-size:20px;" ></i>camera </div> |
?
The effect is as follows:
You can also rotate, add dynamic effects, and see more examples:
http://fortawesome.github.io/Font-Awesome/examples/
?
- Fontawesome all the icons currently included are listed here:
http://fortawesome.github.io/Font-Awesome/icons/
?
Introduction to the use of Font awesome