Skip to content

Commit

Permalink
Update files/en-us/web/css/hyphenate-limit-chars/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dipika Bhattacharya <[email protected]>
  • Loading branch information
wbamberg and dipikabh authored Feb 12, 2024
1 parent 3383420 commit 3663356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/css/hyphenate-limit-chars/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ p {

In the first example, we don't set `hyphenate-limit-chars`, and the user agent applies its default algorithm.

In the second example, we specify `hyphenate-limit-chars: 14` meaning that words must be at least 14 characters long before they are hyphenated. In the example, "juxtaposition" is no longer hyphenated, since it is only 13 characters long.
In the second example, we specify `hyphenate-limit-chars: 14`, meaning that words must be at least 14 characters long before they are hyphenated. As a result, "juxtaposition" is no longer hyphenated, since it is only 13 characters long.

In the third example, we specify `hyphenate-limit-chars: 13 9 3`, so each hyphenated word must have at least 9 characters before the hyphen. The effect is that "acknowledgement" is now hyphenated as "acknowledge-ment" rather than "acknowl-edgement".

Expand Down

0 comments on commit 3663356

Please sign in to comment.