CSS · Properties — CSS Text

hyphenate-limit-chars

The CSS hyphenate-limit-chars property. Initial value: auto. Inherited.

Syntax
hyphenate-limit-chars: [ auto | <integer> ]{1,3}

Example

Try it

Notes

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

More in this group

hanging-punctuation hyphenate-character 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