CSS Notes (12) CSS3 user interface

Source: Internet
Author: User

Reference: http://www.w3school.com.cn/css3/css3_user_interface.asp

In CSS3, new user interface features include resetting element dimensions, box sizes, outlines, and more.

New user Interface Properties

The following table lists all the conversion properties:

Properties Description CSS
Appearance Allows you to set elements to the appearance of standard user interface elements 3
Box-sizing Allows you to define exactly what is appropriate for a particular area. 3
Icon Provides the creator with the ability to set element styles using the icon equivalents. 3
Nav-down Specifies where to navigate when using the Arrow-down navigation key. 3
Nav-index Sets the tab control order for an element. 3
Nav-left Specifies where to navigate when using the Arrow-left navigation key. 3
Nav-right Specifies where to navigate when using the Arrow-right navigation key. 3
Nav-up Specifies where to navigate when using the Arrow-up navigation key. 3
Outline-offset Offsets the contour and draws the outline at a position beyond the edge of the border. 3
Resize Specifies whether the size of the element can be adjusted by the user. 3

    • Adjust element size
<!DOCTYPE HTML><HTML><Head><style>Div{Border:2px Solid;padding:10px 40px;width:300px;Resize:both;Overflow:Auto;}</style></Head><Body><Div>The Resize property specifies whether the element size can be adjusted by the user.</Div></Body></HTML>
View Code

Before adjustment:

After adjustment:

CSS Notes (12) CSS3 user interface

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.