Is it better to use ems/rems than px for font-size?

1 · CSS-Tricks · Jan. 10, 2020, 1:15 a.m.
The answer used to be absolutely yes because, if you used px units, you prevented the text from being resized by the user at all. But browser zoom is the default method for making everything bigger (including text) these days and it works great even if you use px. But... Kathleen McMahon really digs into this and finds that it's still worth setting all your type (both font-size and line-height) in relative units because: setting type in px … Read article The post Is it better to use ems/re...