Home > front end >  H5 scaling problem in mobile terminal user page
H5 scaling problem in mobile terminal user page

Time:09-28

Normally we shortcut generated code is such & lt; Meta name="viewport" content="width=device - width, initial - scale=1, minimum - scale=1, maximum - scale=1, the user - scalable=no"/& gt;
We only need to remove & lt; Meta name="viewport" content="width=device - width, initial - scale=1, the user - scalable=no"/& gt; You can stop

CodePudding user response:

And there's no way

CodePudding user response:

<meta name="viewport" content="width=device - width, initial - scale=1, minimum - scale=1, maximum - scale=1, the user - scalable=no"/& gt;
Viewport: represents the display window;

Width=device - width, initial - scale=1.0: represents the width of the display window screen width is equal to the equipment, initial - scale=1.0, namely initial scaling is 1.0;

Minimum - scale: said is to allow the smallest proportion of zoom

Maximum: says the biggest proportion is allowed to zoom

User - scalable: whether to allow the user to the page of scaling, can value to yes or no
Change the initial - scale=1, minimum - scale=1, maximum - scale=1, the user - scalable=no several parameters to try this?
  • Related