CSS hanging-punctuation Property Reference

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

CSS hanging-punctuation Property Reference

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

Updated 2026-08-12

hanging-punctuation overview

The CSS hanging-punctuation 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

hanging-punctuation formal syntax
FieldValue
Formal syntaxnone | [ first || [ force-end | allow-end ] || last ]
Initial valuenone
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Text
StatusStandard

Practical examples

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

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

Description

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

References

  1. MDN: hanging-punctuation
  2. MDN: CSS Properties Reference

Similar or alternative tools

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