Pretty vs Balanced

Stephanie Stimac:

Use text-wrap: balance; on headings and subheadings. And use text-wrap: pretty; on paragraphs of text to get rid of orphans on the last line. Despite the Chromium-only support, these would be a good candidate for progressive enhancement.

The performance impact is generally negligible but there in extreme conditions.

Top: Unstyled / Bottom: Balanced
Left: Unstyled / Right: Pretty

Wanna be a better web typographer?

Leave a Reply

Your email address will not be published. Required fields are marked *

Did you know?

Frontend Masters Donates to open source projects. $313,806 contributed to date.