The key "inital-scale" is not recognized and ignored.
The value "no;" for key "user-scalable" is invalid, and has been ignored.
Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.
这么愚蠢的错误还是引以为鉴,不要跟我一样随便就加了个“;”号。
错误的:
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
正确的:
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no" />