Created
September 23, 2015 14:43
-
-
Save mchamplain/bb7084e23e963dff0e3e to your computer and use it in GitHub Desktop.
CSS to hypenate long word when supported and word break on other
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
| .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