Summary of features detected by CS3 media queries, cs3 Summary

Source: Internet
Author: User

Summary of features detected by CS3 media queries, cs3 Summary

Summary of features detected by Media Queries in CSS3:

View (viewport) Description address: http://baike.baidu.com/view/1522985.htm

 

Width: Detect the width of the view.

Height: View height Detection

Device-width: device screen width (device rendering plane width) Detection

Device-height: device screen height (device rendering plane height) Detection

Orientation: horizontal and vertical screen detection for devices

Aspect-ratio: Detection of the aspect ratio of the width and height of the View

Device-aspect-ratio: device screen width and height aspect ratio (device rendering plane width and height aspect ratio) Detection

Color: the number of digits in each color.

Color-index: the number of colors in the color index of the device.

Monochrome: Detection of the number of digits used by each pixel in a monochrome Frame Buffer

Resolution: screen or printer resolution Detection

Scan: the scanning method of the TV

Grid: network device or bitmap Device Detection

 

Note: In all the above features, except scan and grid, you can use the min and max prefixes to create a query range.

 

Examples:

Scan: progressive line-by-line scan, for example: 720 p hd TV, p indicates line-by-line scan

Scan: interlace, for example: 1080i hd TV, I indicates interlace scan

 

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.