πŸ’­ Chris Coyier on Twitter: "I was unaware of `text-wrap: pretty;...

!https://twitter.com/chriscoyier/status/1681407724993798144

Copy this post
Chris Coyier (<a href=@chriscoyier) on X β€” I was unaware of `text-wrap: pretty;`

I knew about the (new/cool) text-wrap: balance; β€” but sometimes that's a bit… too much. I feel like it's nice on headers but not smaller type.

Here's what I mean." loading=β€œlazy”>

Chris Coyier (@chriscoyier) on X
I was unaware of text-wrap: pretty;

I knew about the (new/cool) text-wrap: balance; β€” but sometimes that's a bit… too much. I feel like it's nice on headers but not smaller type.

Here's w…

X (formerly Twitter) Β· twitter.com

Next time I’m working with large headers on small screens I need to try this. I always truggle to get them to look good for most text and overflow ridiculously long words correctly or at all.

text-wrap: pretty;
text-wrap: balance

Note

This post is a thought. It’s a short note that I make about someone else’s content online #thoughts

Connections

Related tags and posts connected to this entry.