3 ms·
Why not just do the right thing with points? That way you'd also do the right thing with the billions of existing pages that will never be updated.
by lmm 4y ago
Why not just do the right thing with points? That way you'd also do the right thing with the billions of existing pages that will never be updated.
- makeitdouble 4y agoMy understanding is that there is no "right" thing. There will be cases where you want font sizes to be absolute and not vary depending on the system. For instance if it's text that comes with specific graphics of fixed size, or there are strong layout concerns bound to it. In other cases you'll want relative sizing and adjust to the user's system preferences as much as possible. That's a decision that has to be made site by site, element by element, which is why em are a recommandation, and couldn't blanket replace absolute units.