Last active
August 29, 2015 14:16
-
-
Save cscuderi/a875f7a29c2b2ebba860 to your computer and use it in GitHub Desktop.
Breaks text cross-browser
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
.break-text { | |
white-space: pre-wrap; /* css-3 */ | |
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ | |
white-space: -pre-wrap; /* Opera 4-6 */ | |
white-space: -o-pre-wrap; /* Opera 7 */ | |
word-wrap: break-word; /* Internet Explorer 5.5+ */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment