HTML5 in Meta name= "viewport"

Source: Internet
Author: User

Viewport specific uses are:
When using the META tag, write properties in the content, separated by commas

      

Property name Notes
Width Sets the width of the layout viewport as a positive integer, using the string "Width-device" to indicate the device width
Initial-scale Sets the initial zoom value of the page, which is a number that can be taken with decimals
Minimum-scale Allows the user's minimum zoom value to be a number that can be taken with decimals
Maximum-scale Allows the user's maximum zoom value, which is a number that can be taken with decimals
Height Sets the height of the layout viewport, which is not important to us and is seldom used
User-scalable Whether the user is allowed to scale, the value is "no" or "yes", no is not allowed, yes means allow
target-densitydpi The value can be a number or high-dpi, medium-dpi, low-dpi, device-dpi one of several strings

HTML5 in Meta name= "viewport"

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.