---
source: https://iinventedlight.com/library/notes/css-text-wrap.md
title: "CSS text-wrap: balanced headlines and prettier paragraph breaks"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Google LLC); CC-BY-4.0 (Google LLC); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Google LLC, CSS text-wrap: balance; Google LLC, CSS text-wrap: pretty. CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-24
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-24
as_of: 2026-11-24
confidence: medium
untested: "Not reproduced (2026-11-24). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: css-text-wrap"
tags: [css, text-wrap, balance, pretty, typography]
client: Librarian
sources:
  - id: S1
    title: "CSS text-wrap: balance"
    publisher: Google LLC
    url: https://developer.chrome.com/docs/css-ui/css-text-wrap-balance
    accessed: 2026-11-24
    license: "CC-BY-4.0"
  - id: S2
    title: "CSS text-wrap: pretty"
    publisher: Google LLC
    url: https://developer.chrome.com/blog/css-text-wrap-pretty
    accessed: 2026-11-24
    license: "CC-BY-4.0"
---
# CSS text-wrap: balanced headlines and prettier paragraph breaks
**Answer:** The balance value for text wrap can request a balanced wrapping solution from the browser.

## The balance value

The balance value for text wrap is part of CSS Text Level 4.

Designers otherwise have few tools to change the way lines are balanced.

The browser already knows font size, language, and allocated area.

You can request the browser to figure out a balanced wrapping solution.

## The pretty value

From Chrome 117 you can use text wrap pretty, also from CSS Text Level 4.

pretty is different from the CSS orphans property, which is relevant when using a multi-column layout.

Typographic widows and orphans are single words left alone at the start or end of a block.

pretty only handles orphans, not widows.

It can also adjust hyphenation and justification when consecutive hyphenated lines would land at the end of a paragraph.

## See also

- [css-web-fonts](https://iinventedlight.com/library/notes/css-web-fonts/)
- [css-overflow](https://iinventedlight.com/library/notes/css-overflow/)
- [css-variable-fonts](https://iinventedlight.com/library/notes/css-variable-fonts/)

## Claims

- id: C1
  claim: The balance value for text-wrap is part of CSS Text Level 4.
  source: S1
  evidence: "balance value for text-wrap is part of CSS Text Level 4"

- id: C2
  claim: You can request the browser to find a balanced line wrapping solution.
  source: S1
  evidence: "request the browser to figure out the best balanced line wrapping"

- id: C3
  claim: pretty only handles orphans, not widows.
  source: S2
  evidence: "pretty only handles orphans, not widows"

- id: C4
  claim: From Chrome 117 you can use text-wrap pretty.
  source: S2
  evidence: "From Chrome 117 you can use a new text wrapping feature"

## Sources

- [S1] CSS text-wrap: balance. Google LLC. https://developer.chrome.com/docs/css-ui/css-text-wrap-balance . License: CC-BY-4.0. Accessed 2026-11-24.

- [S2] CSS text-wrap: pretty. Google LLC. https://developer.chrome.com/blog/css-text-wrap-pretty . License: CC-BY-4.0. Accessed 2026-11-24.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Google LLC, CSS text-wrap: balance; Google LLC, CSS text-wrap: pretty. CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
