aktau 9 days ago

Does anyone know how this contrasts with `text-align: justify` (mentioned in https://news.ycombinator.com/item?id=43258709#43260606)?

In Chrome (can't test Safari), `text-wrap: pretty` has a much milder effect.

Should one use both together in the main text of your average blog? I checked, they do appear to make individual changes.

1
cantSpellSober 9 days ago

`text-align: justify` solves a different problem, it justifies your text; both the left and right edges of each line are aligned with the margins.

> Should one use both together in the main text of your average blog

Optimize for legibility; the properties are compatible.