DEV Community

Cover image for CSS text-wrap: balance vs text-wrap: pretty
SnippFlow
SnippFlow

Posted on

CSS text-wrap: balance vs text-wrap: pretty

In CSS, the text-wrap: balance and text-wrap: pretty methods are used to optimize how text is wrapped within a block.

See the following Codepen for a demo:

Full article: CSS text-wrap: balance vs text-wrap: pretty
CSS Snippets

Top comments (0)