我用这个在 html :
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
并在中央支助服务系统中:
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
也尝试过这一点:
html { -webkit-text-size-adjust: none; }
and yet for some reason this happens:
<强度> 更新 < 强度 > / 强度 > : 我试图删除所有字型, 以查看我的 CSS 是否造成这种情况, 结果很奇怪: 当我不使用任何字体规则时, 字体会变大( 因为缩放被 HTML < code> viewport code> 属性锁定, 没有缩放), 只有小字体会变大, 信头会保持不变 。 奇怪 {% $% % 。
Update 2: I played with the html/css and came to this conclusion - the only time when the text enlargement DOESN T happen is when the text is contained inside the only element in the page - for example if all my body contains is p/span/div with text, it will not get enlarged. If I add another element with text in it, all text on page becomes enlarged in landscape mode.
I tried doing some research and looked through many mobile sites, and the result is the same - they all have this effect.