Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将 iPhone 旋转到横向模式时,iPhone 会自动增大文本大小。
防止这种情况的最佳方法是什么?我想旋转给访问者更多的文本来阅读,而不是更大的字体。像这样的JavaScript是唯一的出路吗?
你可以使用这个 CSS 属性
-webkit-text-size-adjust: none;