Firefox Tomorrow

css module

CSS text

View on MDN ↗

The CSS text module defines how to perform text manipulation, like line breaking, justification and alignment, white space handling, and text transformation.

Reference

Properties

The specification also defines the hyphenate-limit-last, hyphenate-limit-lines, hyphenate-limit-zone, line-padding, text-align-all, text-group-align, text-spacing, white-space-trim, word-space-transform, wrap-after, wrap-before, and wrap-inside properties, which are not yet supported by any browser.

Guides

  • Wrapping and breaking text
    • : A guide to the various ways in which overflowing text can be managed in CSS.
  • Handling whitespace
    • : A guide introducing the various CSS properties that control the rendering of whitespace in the DOM, exploring the pitfalls and their mitigations.

Properties

Values

HTML

Specifications

SpecificationsStandards references are available on the canonical MDN page.

See also