On this page
  1. text-wrap
  2. Syntax & Overview
  3. Notes & Best Practices
  4. Example

text-wrap

Prev: `line-height` | Up: typography | Next: `color`
Rel: typography, Typography & Color Guide
Ref: MDN Web Docs — text-wrap
Tags: #public #web #css #properties #typography #tier/standard


Syntax & Overview

text-wrap: balance | pretty | nowrap;

Controls typographic line-breaking quality.

Notes & Best Practices

Example

h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

Linked from

Related notes