Print editors have long fixed these "lonely lines" by hand — an unbalanced-looking paragraph, or a single short word wasting an entire line's width.
CSS `text-wrap: pretty` (Chromium) recently automated this by recomputing a whole paragraph's line breaks to reduce widows. The default, `text-wrap: normal`, wraps greedily one line at a time and never looks ahead to what's left on the last line.
Use `text-wrap: balance` (see the next entry) for headlines and `text-wrap: pretty` for body paragraphs. Both are capped by browsers to short text only, since the layout recalculation is relatively costly.
When to use
Try `text-wrap: pretty` on narrow-column body paragraphs, card descriptions, and captions — anywhere awkward line breaks are visible.