如何制作动态 HTML 页面宽度,在调整大小时以 3 个设备步骤跳转 - 无需 js?
我找到了 此页面,在调整 windowwidth 大小后,它完全改变了它的 css 值。我想到了 Javascript,但它甚至在禁用 JS 的情况下也能实现。如果调整页面大小,宽度将分 3 步更改。 firebug 或 chrome 显示的计算出的 css 值不受影响,但您肯定会看到更改。我搜索了某种媒体查询或其他内容,但什么也没有。希望有人理解发生了什么=)我想用它而不是媒体查询
I found this Page and after resizing windowwidth, it totally changed its css-values. I thought of Javascript, but it even does with JS disabled. If you resize the Page, it changes the width in 3 steps. The computed css-values shown by firebug or chrome are not affected, but you definitly see the change. I searched for some kind of media-query or something else, but there was nothing. Hope someone understands what's going on =) I'd like to use it instead of media-querys
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他们实际上正在使用媒体查询。您可以通过在 他们的 css 中搜索
@media 来轻松查看它
,有很多匹配项。They are actually using media queries. You can easily check it out by searching in their css for
@media
, there are plenty of matches.