> 23 mars 2017 Crest Christopher <crestchristop...@gmail.com>: > > Speaking of which, can someone once again clarify, for example; 2.2em would > equal 4.4vw ?
I haven’t used these new units, but according to https://www.w3.org/TR/css3-values/#lengths 'vw’ is "1% of viewport’s width and ’vh’ is "1% of viewport’s height”. As ’ems’ are not related to the viewport ”size" at all, then I’d say you can never say what you suggest with any useful certainty, unless you somehow set the basic font size in relation to the viewport size. Once you’ve set the basic font size for a page, you can use ems or any other relative size unit to change the size for a contained element. That’s if you’ve reset the element specific relative sizes provided by the browser itself somehow. Typically sizes are inherited, but HTML elements also have specific relative sizes in most browsers. ______________________________________________________________________ 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/