DEV Community

Discussion on: Which units of measure do you use and why in CSS?

Collapse
 
ryan profile image
Ryan • Edited

px is not affected by a user's default zoom setting. em/rem with a root percentage value is.

Users can always zoom per site, but that's annoying for a user who has a preference, or has a disability and requires a larger font, to have to change it on every site individually.