我需要将视口设置为490px,不可缩放
<meta name="viewport" content="width=490, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
iphone处于纵向模式时,页面加载略微缩放。双击可将其缩小至适当的490像素。为什么会这样?
答案 0 :(得分:0)
You should use something like this:
<meta name="viewport" content="width=490, target-densitydpi=device-dpi, user-scalable=1">