CSS · Properties — CSS Text

hanging-punctuation

The CSS hanging-punctuation property. Initial value: none. Inherited.

Syntax
hanging-punctuation: none | [ first || [ force-end | allow-end ] || last ]

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

hyphenate-character hyphenate-limit-chars hyphens line-break tab-size text-align-last text-autospace text-fit

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course