[Learn AF3] Built-in vector icons in App Framework 3.0

Source: Internet
Author: User

AF3 built-in vector icons

Introduction: to use the icons in AF3, you must first introduce ICON.CSS, because the file has built-in font file data, so you do not need to introduce font file support.

<rel= "stylesheet"  type= "text/css"  href= "js/ Af3.0/icons.min.css "/>

using: After the introduction of the Icon.css file, we can display the icon (actually a vector character) by adding the CSS class name to the element that needs to display the icon, and note that you need to add the name of the icon and the specific class. AF3 vector icons support three kinds of specifications, normal size, small icon, large icon, please see the following code:

<!--Show normal-sized home icons -<Divclass= ' IconHome '>Home</Div> <!--Display the home icon of the trumpet -<Divclass= ' IconHome Mini '>Home</Div> <!--Show a large home icon -<Divclass= ' IconHome Big '>Home</Div>

AF3 icon Index: as the official website does not have the index of the icon, we hereby make an index image of the icon in AF.

[Learn AF3] Built-in vector icons in App Framework 3.0

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.