1. Adapt to various screens
First of all, remember that width cannot be defined. Once defined, a slightly smaller screen will not be displayed.
<<strong>meta </strong><strong>id=</strong><strong>"myviewport" </strong><strong>name=</strong><strong>"viewport" </strong><strong>content=</strong><strong>"width=1024,user-scalable=yes"</strong>/>
这句话最主要的就是<pre class="n"><strong>user-scalable=yes(用户可扩展yes)</strong>
Write this sentence and you can switch the screen size at will without any mess