浏览器中的默认字体大小不是16px? [英] How often is the default font size in the browser not 16px?

查看:1229
本文介绍了浏览器中的默认字体大小不是16px?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

撰写了伟大的大答案问题在CSS中处理像素很不好吗? ,其中我认为通常没有错误,只要你了解限制,我开始怀疑有多少人有默认字体大小设置为除16px之外的其他值。

After writing a great big answer to the question Is it bad to work with pixels in CSS? in which I concluded that there's normally nothing wrong with it provided you understand the limitations, I started to wonder about how many people have the default font size set to something other than 16px.

我想,有些用户会因为视力不佳或高像素密度监视器1920 * 1080屏幕在15英寸的笔记本电脑)(或者也许只是因为他们喜欢更大的文字)。也可能有一些设备(手持设备?)的默认字体大小设置为别的,但这是纯粹推测我的部分。

I imagine that there would be some users who change it due to either poor eyesight or high pixel density monitors (like those with 1920*1080 screens on 15" laptops) (or maybe just because they like larger text). There also may be some devices (handheld devices?) that have the default font size set to something else, but this is purely conjecture on my part.

我的问题是:有没有人知道有多少百分比的用户将默认浏览器字体大小设置为16px以外的字体?

My question is: does anybody know any statistics on what percentage of users have the default browser font size set to something other than 16px?

推荐答案

这避免回答你的问题,但即使IMHO这样的统计数据接近零百分比,也不应该有问题。

This avoids answering your question, but IMHO such statistics shouldn't matter even if it were near zero percent.

即使16px是事实上的标准,你应该从这样的位置开始,这是设计者最终无法控制的,它应该留给用户选择他们的字体大小。您的决策过程应导致基于用户需求的灵活设计。

Even if 16px were the de-facto standard, you should start from the position that this is something that the designer doesn't ultimately control, and it should be left up to the user to choose their font size. Your decision process should lead to designs that are flexible based on the user's needs.

这篇关于浏览器中的默认字体大小不是16px?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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