DEV Community

Discussion on: 5 CSS Interview questions one should know

Collapse
 
paceaux profile image
Paceaux

Answer: rem and em are both CSS units. rem means relative em.

Small correction: rem means "root em", not "relative em".

However, both are considered relative units : drafts.csswg.org/css-values-3/#rel...

Collapse
 
devanghingu profile image
Devang Hingu

yeah you got right..

Collapse
 
hellonehha profile image
Neha Sharma

Thank you for correcting. I will update the article :)