Rusty Locks Notes 2023

#Link |  CSS text-wrap balanced and pretty

In this worth reading article, Stephanie Stimac (@seaotta) shows the possibilities of using text-wrap in CSS to improve the typography of body text. On the one hand, there is the value balanced, which ensures that text that goes over several lines is distributed over them as balanced as possible, and the still experimental pretty, which is supposed to prevent that individual words of a paragraph are placed in a last otherwise empty line.

When to use CSS text-wrap: balance; vs text-wrap: pretty;

#CSS #Typography


You can interact with this note (applause, criticism, whatever) by mention it in one of your posts or by replying to its syndication on Mastodon, which will be shown here as a Webmention .

In case your blog software can't send Webmentions, you can use this form:


No Webmentions yet...