Home > front end >  How to zoom the page as a whole. Their tried a scale is ineffective.
How to zoom the page as a whole. Their tried a scale is ineffective.

Time:05-26

Ladies and gentlemen, I downloaded a weather interface,
On your page, feeling good layout, the only lack is a bit small, want to enlarge it,
I use the viewport, tried, initial - scale=2.5, minimum - scale=2.5 and is 1,
Found that page does not change, as big margin, on both sides of the screen not covered,
Could you tell me how to unify, enlarge all elements,
Thank you,
Ul li, there shows form is for this reason you

<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "/& gt;
<meta name="mobile web - app - capable" content="yes" & gt;
<meta name="viewport" id="portviewid" content="width=device - width, initial - scale=2.5, the minimum - scale=2.5, the maximum - scale=2.5, user - scalable=no" & gt;

<style>
* {
margin: 0px;
padding: 0px;
The font-family: PingFangSC - Regular, Verdana, Arial, Microsoft black, song typeface.
list-style: none;
}
. The weather - container {
width: 240px;
Height: 260 px;
Margin: 20 px auto;
Background: no - repeat;
Background - size: auto auto;
border-radius: 5px;

}
  • Related