通过设置viewport属性为content="width=device- width, initial-scale=1,会使宽度会被设定为设备的屏幕宽度。
<meta name="viewport" content="width=device-width, initial-scale=1">