Meta viewport label standard style

<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
Attribute name Value description
width Positive integer or ?device-width Define the width of the viewport in pixels
height Positive integer or ?device-height Define the height of the viewport, the unit is pixel, generally not used
initial-scale [0.0-10.0] Define the initial zoom value
minimum-scale [0.0-10.0] Define the minimum reduction ratio, which must be less than or equal to the maximum-scale setting
maximum-scale [0.0-10.0] Define the maximum zoom ratio, it must be greater than or equal to the minimum-scale setting
user-scalable yes/no Define whether to allow the user to manually zoom the page, the default value is yes

Guess you like

Origin blog.csdn.net/d1063270962/article/details/108286008