DEV Community

Discussion on: Back to Basic: Should we use Rem, Em or Pixel?

Collapse
 
dillonheadley profile image
Dillon Headley

Making the root font size a px (or vw/vh) value can break accessibility for some who change the font size through their browser settings.

Also line height can be kept unit less which acts like ems. ie:
line-height: 1.5;

But otherwise I agree! 😃

Collapse
 
theodorusclarence profile image
Theodorus Clarence

Agreed with Dillon! Thanks for your addition.