html - 当将桌面网站缩放到 150% 以上时,它会恢复到移动响应模式

标签 html css twitter-bootstrap web

当将桌面网站缩放到 150% 以上时,它会恢复到移动响应模式。 我将如何防止这种行为?

这是网站: http://betafinance.co.il/

放大到 150%,您就会明白我的意思。

谢谢

最佳答案

根据这篇(很棒的)文章:

https://blog.55minutes.com/2012/04/media-queries-and-browser-zoom/

主要问题是网站media-query使用fixed units (px) 而不是elastic一个(em)

转换您的像素(公式也在我附加的链接中注明)。这应该可以解决它:)

关于html - 当将桌面网站缩放到 150% 以上时,它会恢复到移动响应模式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45543344/

相关文章:

javascript - jQuery - 从一个列表项中查找事件类并将该类提供给另一个列表

html - 如何在不重叠或隐藏在横幅后面的情况下添加水平下拉子菜单?

html - 如何将图例放置在字段集边框之外

javascript - 固定页眉滚动时的标题转换

python - 我无法在我的 Flask 应用程序中使用 CSS 设置背景

html - 在 IE9+ 中定位元素属性

html - 为什么我的 Bootstrap 专栏没有将其内容居中?`

css - 内部有 6 个 div 的 Div 对齐并堆叠

css - Bootstrap 表单文本在 Google Apps Script htmlservice 中的移动设备上没有响应

html - 多级下拉无法使用 Bootstrap 和悬停实现