Suppose I specify all font sizes in rem units, then I specify a font size at a certain screen size, but it turns out that the fonts that were already small were even smaller, to the extent that they are more unreadable.
Here is an example:
html { font-size: 10px; } h1 { font-size: 4rem; } h2 { font-size: 3rem; } h3 { font-size: 2.5rem; } h4 { font-size: 2rem; } p { font-size: 1.4rem; } @media screen and (max-width: 600px) { html { font-size: 6px; } } <html> <h1>Simple text</h1> <h2>Simple text</h2> <h3>Simple text</h3> <h4>Simple text</h4> <p>Simple text</p> </html> The question is what to do in such cases? What is the right thing to do? For small fonts, set the size values in absolute values?