Skip to content

Instantly share code, notes, and snippets.

@voneff
Created Apr 19, 2017
Embed
What would you like to do?
Text flow: hyphenation / Silbentrennung
/*
* 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