To make a font icon, you need to visit this website first, http://fontawesome.io/
If it's too slow to open, you can use this, http://www.bootcss.com/p/font-awesome/.
It's the same anyway.
After downloading, you can see the following files, font fonts, less and scss are CSS source files, SRC is some instance files
Write your own demo, directory below
The demo.html code is as follows
<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><title>Untitled Document</title><Linkrel= "stylesheet"href= "Css/font-awesome.css"><style>. Icon-base{Display:Inline-block;font-size:200px;Color:#000;margin:100px;}</style></Head><Body> <Divclass= "Icon-base icon-cut"></Div> <Divclass= "Icon-base icon-copy"></Div> <Divclass= "Icon-base icon-google-plus"></Div> <Divclass= "Icon-base icon-user-md"></Div> </Body></HTML>
The effect is as follows
Which style name specifically corresponds to which icon, on the first two sites to check it
How to make CSS font icons