Last active
November 14, 2024 04:02
-
-
Save RickCogley/b3ad0a9903c42f723daf540ac4246d82 to your computer and use it in GitHub Desktop.
English Hyphenation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Language supports hyphenation ハイフン対応可能な言語 */ | |
html[lang="en"] { | |
text-align: left; | |
-webkit-hyphens: auto; | |
-webkit-hyphenate-limit-before: 3; | |
-webkit-hyphenate-limit-after: 3; | |
-webkit-hyphenate-limit-chars: 6 3 3; | |
-webkit-hyphenate-limit-lines: 2; | |
-webkit-hyphenate-limit-last: always; | |
-webkit-hyphenate-limit-zone: 8%; | |
hyphens: auto; | |
hyphenate-character: "-"; | |
hyphenate-limit-chars: 6 3 3; | |
hyphenate-limit-lines: 2; | |
hyphenate-limit-last: always; | |
hyphenate-limit-zone: 8%; | |
} | |
/* Language does NOT support hyphenation ハイフン無し言語 */ | |
html[lang="ja"] { | |
text-align: left; | |
hyphens: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment