如何通过设置viewport让页面在手机上480px和640px自适应显示?
Using this generally ensures that the width of your page adapts to the screen, the length automatically stretches, and all page elements use 100% width, or see a detailed description here
html<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
html
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
Using this generally ensures that the width of your page adapts to the screen, the length automatically stretches, and all page elements use 100% width, or see a detailed description here