The rem (root em) unit is the font-size of the root element, which is usually the html element. As with em, you can use this value as a length unit and it will always remain relative to the root element. You don’t get the nesting issue as we saw with em.

2557

DOCTYPE html> CSS rem unit