DEV Community

Discussion on: CSS Units

Collapse
 
adiatiayu profile image
Ayu Adiati

Thank you for reading and for the feedback, Josh.
And I'm happy if it could help you 😊

Yes, with rem (root em), children base their size on the root element.
And the root element is always html.
You can find the explanation here

[...] it is also referred to as the root element

I hope this helps 🙂