DEV Community

Discussion on: html{font-size:?} Responsive Magic

Collapse
 
b4two profile image
Batuhan

But as i give rem to most of the constitutive elements, website will be scaling in harmony and as far as i know giving a percentage to html also help the user who prefer their own font sizes. Does it really effect that bad?

Collapse
 
tomekbuszewski profile image
Tomek Buszewski

Yes, everything will scale just fine. But, when user turns up the font size, from, let's say 16, to 22, elements will be too big and the design will look awkward, elements may collide etc. Using fixed size in html and tuning certain elements to be responsive to user preferences is far safer, at least in my opinion.