开发者

is there any difference between 1.1em and 1.05em?

开发者 https://www.devze.com 2022-12-29 02:38 出处:网络
is there any difference on browser between 1.1em and 1.05开发者_如何学运维em?Yes, exactly 0.05 em.Well yes, they\'re different values. You probably won\'t notice any different unless the base size is

is there any difference on browser between 1.1em and 1.05开发者_如何学运维em?


Yes, exactly 0.05 em.


Well yes, they're different values. You probably won't notice any different unless the base size is sufficiently large though as most browsers will just round it. But they are certainly different.


That depends on the default character size of the browser. The default tends to be 1 em = 16px I believe, which yields 1.1 em == 1.05em == 17px in the standard setting.

If you have people which cannot see all that well, and use a large default (say 72px = 1em) then the difference would be noticable (difference = 0.05 * 72 = 3 or 4 px). Though not noticable for the person with bad sight.


You should check this out : http://jerekdain.com/fontconversion.html

On Safari I saw a tiny difference between the 1.1em and the 1.05em but I had to use the page zoom to see it :)


I would say, that it depends on implementation, however do not forget, that 1em is current font size and 1.05 might get rounded anyway...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号