Viewport Control Application Screen properties
Viewport is a meta tag for mobile web, and its main properties are as follows
<meta name= "viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no "/>
- width = [Pixel_value | device-width]
Controls the width of the viewport, a value that can be specified, or a special value, such as device-width as the width of the device (in pixels of the CSS when scaled to 100%).
- Height = [Pixel_value | device-height]
- Initial-scale = Float_value
The initial zoom ratio, which is the scale at which the page is first load.
- Minimum-scale = Float_value
Maximum scale to which the user is allowed to zoom
- Maximum-scale = Float_value
The minimum scale to allow the user to zoom
- user-scalable = [yes | no]
Whether the user can manually scale
webkittouchcallout Disable native popup menu
The Webkittouchcallout property of CSS3 can control whether this native behavior is executed
-webkit-touch-callout: [Auto|none]
Webkituserselect prohibit users from selecting
If a user presses the text content of a Web page, the selected behavior will appear, providing the ability to copy text.
The Webkituserselect property of CSS3 can prohibit this default behavior.
-webkit-user-select: [Auto|none]
Format-detection
/* Cancel identification of email address */<meta name= "format-detection" content= "Email=no;" >/* de-Identify address */<meta name= "format-detection" content= "Address=no;" >/* de-Identify the phone */<meta name= "format-detection" content= "Telephone=no"/>
iOS remove button native style-webkit-appearance
-webkit-appearance:none;
Ios,android using HTML5 Development issues Summary