如何让网站分辨率根据用户屏幕分辨率而变化?
我正在使用 css 制作网页,并且我已经被这个问题困扰了一段时间。我见过其他网站根据某人显示器的分辨率调整大小。我对 css 或任何其他类似的东西了解不多。谁能告诉我如何实现这个目标?我的网站是 http://ryanlaurence.com/
i'm using css to make a webpage and i have been stuck on this problem for a while. i have seen other website resize according to the resolution of someones monitor. i don't know much about css or any other things like it. can anyone tell me how i might accomplish this? my website is
http://ryanlaurence.com/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它通常使用 CSS 完成,称为液体布局或流体布局。
很多网站描述了各种方法做吧。
It's typically done with CSS, and called a liquid layout or fluid layout.
There are a lot of sites out there that describe various ways to do it.