The hyphenate-limit-chars
CSS property specifies the minimum word length to allow hyphenation of words as well as the minimum number of characters before and after the hyphen.
This property provides you with fine-grained control over hyphenation in text. This control enables you to avoid awkward hyphenations and set appropriate hyphenation for different languages, which, in turn, allows for better typography.
In the interactive example above, the default minimum word length setting of hyphenate-limit-chars
is too large for either of the long words to be hyphenated, and so the output looks untidy. However, by choosing the other value option, the minimum word length limit is reduced. This allows both the long words to be hyphenated, making for a neater layout.