GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

03Heading line-wrap balance — a paragraph that keeps a lone word off the last line

When a long heading wraps across lines, each line's character count balances evenly, preventing a single orphan word from being stranded on the last line.

Best forA card title, a hero-section headline

text-wrap: balanceCSS.supportstext-wrap
Heading line-wrap balance — a paragraph that keeps a lone word off the last line
Open in a new tab

03 Heading line-wrap balance — a paragraph that keeps a lone word off the last line — Measured area 3.253% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · CSS Reset: 9 Patterns From Basics to Safe-Area

The post this demo lives in

CSS Reset: 9 Patterns From Basics to Safe-Area - preview of all 9 demosCSS Reset: 9 Patterns From Basics to Safe-AreaNine css reset patterns: one recalculates padding for the safe area, one shrinks transition duration near zero when moti See all demos in this post

If you like this effect - similar demos