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 3663356 commit f5fe0c8
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 @@ -114,7 +114,7 @@ p {

{{EmbedLiveSample("Setting hyphenation limits", "", 200)}}

In the first example, we don't set `hyphenate-limit-chars`, and the user agent applies its default algorithm.
In the first box, we don't set `hyphenate-limit-chars`, allowing the user agent to apply 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. As a result, "juxtaposition" is no longer hyphenated, since it is only 13 characters long.

Expand Down

0 comments on commit f5fe0c8

Please sign in to comment.