Is this a golden rule, 1em = 16px ? If the math is 120 * 16 = 1920 px or rounded down as mentioned 19px, correct ?

Tom Livingston wrote:
On Thu, Jul 24, 2014 at 9:40 AM, Crest Christopher
<crestchristop...@gmail.com>  wrote:
Now you confused me ?




ems are relative to font size.

Given a browser default of 16px, 1em = 16px.

If you have something set at font-size: 120%;, that's 120% bigger than
16px (1em) so, like Chris said, it would be 19px (rounded down) or
1.188em;


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to