如何处理缩放响应布局? [英] How to deal with zoom in responsive layouts?

查看:149
本文介绍了如何处理缩放响应布局?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何处理缩放回应式版面配置?

缩放这个网站时,所有内容都变得凌乱: http:/ /bostonglobe.com/

我喜欢布局和响应效果,但有时我的用户会放大内容。
感谢

How to deal with zoom in responsive layouts ?
All get messy when zooming this site : http://bostonglobe.com/
I loved the layout and responsive effects but sometimes my user will zoom content. Thanks

推荐答案

只需避开固定单位,并为元素使用百分比或em单位。

Simply avoid fixed units and use percentage or em units for your elements.

缩放是浏览器向浏览您网站的用户提供的一个有用功能,它会在某种程度上弄乱您的文本和布局。

Zoom is a useful feature browsers provide to users surfing your site, and it will mess up your text and layout to some extent anyway.

您最好的做法是确保您的网站完全可缩放,不会违反此功能。

The best thing you can do is make sure your site is completely zoomable, not going against this feature.

这篇关于如何处理缩放响应布局?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆