Rem
A CSS unit relative to the root element font size; 1rem equals the html font-size, typically 16px.
Learn more in the guide
Typography TokensRelated terms
Em
A CSS unit relative to the font size of the current element; useful for scalable component-level typography.
Pixel
An absolute CSS unit equal to one device pixel; common for borders and fine-tuned design specs, though rem is preferred for type.
Type Scale
A set of font sizes derived from a base size multiplied by a consistent ratio to create harmonious hierarchy.