Created
April 19, 2017 08:44
-
-
Save voneff/19b0ec988b19d60a3496b89cf10b85b2 to your computer and use it in GitHub Desktop.
Text flow: hyphenation / Silbentrennung
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
/* | |
* Active hyphenation in all texts | |
* | |
* Sources: | |
* https://css-tricks.com/almanac/properties/h/hyphenate/#comment-1596240 | |
* https://justmarkup.com/log/2015/07/dealing-with-long-words-in-css/ | |
*/ | |
.body { | |
overflow-wrap: break-word | |
word-wrap: break-word; | |
-webkit-hyphens: auto; | |
-ms-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment