Icon font library (use CSS style to generate search, shopping cart, and other icons), and css Library

Source: Internet
Author: User

Icon font library (use CSS style to generate search, shopping cart, and other icons), and css Library

Reference URL: http://fontawesome.dashgame.com/

BASIC icon:

You can use the Font Awesome icon in almost any place, just use the CSS prefixFa, And then add a name. Font Awesome is designed to use inline elements. We usually prefer to use<I>Because it is more concise. But actually use<Span>To make it more semantic.

<I class = "fa-camera-retro"> </I> fa-camera-retro

Note: If you modify the font size of the icon container, the Icon size changes accordingly. The same change will also occur in the effect supported by any other CSS such as color and shadow.

Remember to introduce it when using it:

<Link rel = "stylesheet" href = "font-awesome-4.7.0/css/font-awesome.min.css">

Related Article

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.