Skip to content

Instantly share code, notes, and snippets.

@webselect
Created June 24, 2013 17:45
Show Gist options
  • Save webselect/5851988 to your computer and use it in GitHub Desktop.
Save webselect/5851988 to your computer and use it in GitHub Desktop.
CSS - Hyphenation cross browser
-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;
-webkit-hyphenate-before: 2;
-webkit-hyphenate-after: 3;
hyphenate-lines: 3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment