A font size that looks great on desktop is not often optimal on mobile devices.
You can change your base font size with a media query and have the rest of the website adapt accordingly because they're all sized relative to the base font size.
You can change your base font size with a media query and have the rest of the website adapt accordingly because they're all sized relative to the base font size.
"One of the best practices to typography on the web is to use relative units like rem and em.", it says, but why?? I get as a general philosophy that relative might be preferable over absolute, the way you prefer relative paths in your build system. But "relative" in this case means relative to the font size which is either specified or the default, both which makes s using absolute values just as valid and easier to comprehend..?