How to make CSS font icons

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.