Tuesday, August 13, 2024
HomeProgrammingFont-size Limbo | CSS-Tips

Font-size Limbo | CSS-Tips


You would possibly recall that Alvaro suggests bumping up font-size to 1.25rem from the default consumer agent measurement of 16px. Sebastian Laube pokes at that:

I wouldn’t undertake Alvaro’s suggestion with out additional ado, as I’d waste a lot house on a smartphone, for instance, and lots of customers would most likely be irritated by the massive font.

I set a font measurement of 1.2rem from a sure viewport measurement. However this additionally must be accomplished fastidiously, as a result of then gray areas come up wherein media queries abruptly fall again into one other space…

I personally agree with Alvaro that the default 16px measurement is simply too small. That’s simply how I really feel as somebody who’s uncomfortably near carrying the bottoms of precise Coke bottles to see something clearly on a display screen.

On the flip facet, I professionally agree with Sebastian, not that many customers would most likely be irritated by the massive font, however to overtly query an strategy reasonably than adopting another person’s strategy wholesale primarily based on a single weblog put up. It could very effectively be {that a} font-size bump is the fitting strategy. All the things is relative, in any case, and we should be listening to the individuals who use the factor we’re making for choices like this.

The a lot larger query is the one Sebastian poses proper on the finish there:

Ought to browsers maybe use a bigger font measurement on massive screens from the outset if the consumer doesn’t specify in any other case? Or do we’d like an info marketing campaign to make them conscious that they need to verify their system settings or set a special default font measurement within the browser?

Improbable, proper?! I’m truthfully not sure the place I’d draw the viewport breakpoint for 16px being both too massive or small and the place to begin making changes. Is 16px the fitting default at any viewport measurement? Or maybe consumer brokers ought to contemplate a fluid sort implementation that defines a default font scale and vary of sizes as a substitute? It’s nice meals for thought.


Direct Hyperlink →

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments