mamot.fr is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mamot.fr est un serveur Mastodon francophone, géré par La Quadrature du Net.

Server stats:

3.3K
active users

Nicolas Hoizey

“Reimagining Fluid Typography” by @mia

🔗 oddbird.net/2025/02/12/fluid-t

> Never do pixel math with `em` and `rem` units. That’s where we went wrong, by assuming that `16px == 1em` is a reliable fact.

It reminds me a lot of what I was pretty vocal about a few years ago, including “People don't change the default 16px font size in their browser (You wish!)” and “Users DO change font size”.

But I don't understand how this code…

⚓nicolas-hoizey.com/links/2025/

@nhoizey It approaches the problem by trusting that "something close to 1em, but viewport responsive" is a good size for the user – rather than assuming the user has a 16px default, we prefer 24px, and aiming for 1.5em… which will eternally be larger than requested.

But also, my post doesn't present a solution. I'm mostly asking questions, and then thinking about possible ways to approach the problem. Maybe I need to make that more clear.

@mia oh, yes, you should at least for people like me. 😅

Sorry but I thought you presented this as a solution. Maybe I missed some nuance somewhere as English is not my primary language. 😔