@techyjc
Posted
Hi Aleš,
The default base text size is 16px; so if you're using REM it is based on the Root element.
You define your root in CSS
:root { --ff-base-size: 16px; font-size: var(--ff-base-size); }
Depending on what you are doing em might a better option as it uses the font-size defined in the parent element and scales from there.As you might require different base font-sizes depending on a specific nested set of elements.
(I think that's right... I'm sure someone will correct me if I'm not...)
Marked as helpful