值得造型缩小? [英] Worth Styling Zoomed Out?

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

问题描述

这可能是这个交换的一个很差的问题,但它是值得造型的缩小浏览器吗?例如,我可以放大铬到25%,我的导航中断,我应该适应这一点,否则99%的情况下,罚款,没有额外的努力在造型?

This might be a poor question for this exchange but is it worth styling for zoomed out browsers? For instance, I can zoom chrome out to 25% and my navigation breaks, should I accommodate for this or will 99% of cases be fine without the extra effort in styling? What case would I run into problems like that?

推荐答案

25%?我不会担心,除非你的用户的用户将是远远的用户的一个用例。

25%? I wouldn't worry about it unless you have a use case for your page where your users will be that far out.

现在,75%-125%,你可能考虑一下。通常,您的网页会在其他缩放级别正常工作。如果没有,它可能是因为你硬编码的东西,你不应该有。 (例如,你可能会假设某行上的文本将不会包装,这不是一个好的假设,不同的设备使用不同的字体,这会导致文本在某些情况下换行。)在这些情况下,请确保只有在需要时将大小设置为特定值。让页面尽可能多地流动。

Now, 75%-125%, you might consider it. Usually your page will work fine at other zoom levels. If it doesn't, it's likely because you have hard-coded something you shouldn't have. (For instance, you might assume that text on a certain line will never wrap. That isn't a good assumption. Different devices use different fonts, which could cause text to wrap in some cases.) In those cases, make sure to only set the sizes to specific values when needed. Let the page flow as much as possible.

这篇关于值得造型缩小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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