Skip to content

Instantly share code, notes, and snippets.

@handrus
Created October 10, 2015 17:50
Show Gist options
  • Save handrus/e54fb84278fb341eedb5 to your computer and use it in GitHub Desktop.
Save handrus/e54fb84278fb341eedb5 to your computer and use it in GitHub Desktop.
Dealing with long words in CSS
.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