Fernando Paz
0
Q:

what is em in css

'em' units for the font-size property will be relative to the'font-size of the parent element'.
'em' units on other properties other than font-size will be relative to the
font-size of the current element. 'rem' units sizes will always be relative 
to the font-size of the root html element.
2
/*realative to the font-size*/ 
2
em -> Relative to the font-size of the element 
(2em means 2 times the size of the current font)
0

New to Communities?

Join the community