Created
February 27, 2017 16:48
-
-
Save Farmatique/47b3d912f8d798df76b2d8823d6e601c to your computer and use it in GitHub Desktop.
forced word breaks or word wrap
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
| /* These are technically the same, but use both */ | |
| overflow-wrap: break-word; | |
| word-wrap: break-word; | |
| -ms-word-break: break-all; | |
| /* This is the dangerous one in WebKit, as it breaks things wherever */ | |
| word-break: break-all; | |
| /* Instead use this non-standard one: */ | |
| word-break: break-word; | |
| /* Adds a hyphen where the word breaks, if supported (No Blink) */ | |
| -ms-hyphens: auto; | |
| -moz-hyphens: auto; | |
| -webkit-hyphens: auto; | |
| hyphens: auto; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment