Last active
September 28, 2015 07:49
-
-
Save swistak/1c02b46fff002e48e395 to your computer and use it in GitHub Desktop.
Usefull css classes
This file contains hidden or 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
// Cross browser way to split very long words into multiple lines. | |
// From https://justmarkup.com/log/2015/07/31/dealing-with-long-words-in-css/?mc_cid=ce70bb0280&mc_eid=da0b57a173 | |
.hyphenate { | |
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