Skip to content

Instantly share code, notes, and snippets.

@jo-snips
Created March 9, 2012 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jo-snips/2007626 to your computer and use it in GitHub Desktop.
Save jo-snips/2007626 to your computer and use it in GitHub Desktop.
CSS: Word Wrap/Hyphenation
/*
Courtesy of http://blog.kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/
*/
-ms-word-break: break-all;
word-break: break-all;
// Non standard for webkit
word-break: break-word;
-webkit-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