关于CSS自适应布局的问题
我有一个与 CSS 自适应布局相关的非常具体的问题。
我在某些网站上看到过示例,其中假设您针对特定分辨率(或桌面)显示了 3 列布局....现在,当屏幕尺寸减小时(例如移动设备),相同的布局现在显示为2 列布局。
使这成为可能的具体 CSS 属性是什么?创建此类自适应布局的最佳方法是什么?
I have a very specific question related to CSS adaptive layout.
I have seen example on certain websites where say you have a 3-column layout shown for a particular resolution (or say desktop)....Now when the screen size reduces (say for a mobile device), the same layout now displays as a 2-column layout.
What are the specific CSS attributes which make this possible and what is the best way to create such adaptive layouts ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该技术被称为响应式设计,并通过媒体查询
The technique is known as responsive design and is achieved with media queries