0
What does em stand for
3 Answers
+ 3
@Greg Oboroceanu:
Look at question tags, it's about css ^^
@Petar Petroff:
In CSS, 'em' is a special unit relative to the font size, so in example, if you define a padding for a <div> in 'em' unit, it will grow proportionally if you change the font size... Useful for use relative unit, without refering to the parent container, as do the percentage ( % ) unit....
Other useful relative specific units are 'ex' ( as 'em' refer to the font size: 'em' stand for espacement of letter m, while 'ex' for the 'x', which are both common width -- 'm' the wider space fr a char, 'x' the average one ), 'vw' and 'wh' ( for 'viewport width' and 'heigth', refering to the viewport, as the font size refered one, pass trough limitations of the parent referer ).
+ 1
'em' stands for 'emphasise'
In html you cam use <em></em> tag to emphasise some text
0
@visph
Got you, didn't notice the tags.
https://www.w3.org/Style/Examples/007/units.en.html