CSS line-break Property Reference

The CSS line-break property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

CSS line-break Property Reference

The CSS line-break property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

line-break overview

The CSS line-break property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

line-break formal syntax
FieldValue
Formal syntaxauto | loose | normal | strict | anywhere
Initial valueauto
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Text
StatusStandard

Practical examples

These declarations demonstrate valid ways to set line-break. The initial and inherit global keywords remain available even when a property-specific value is preferable.

line-break live example
CSS .reset-example { line-break: initial; } .inherit-example { line-break: inherit; } @supports (line-break: initial) { .supported { line-break: initial; } }

Description

The CSS line-break property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: line-break
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies