Last Updated: February 25, 2016
·
1.98K
· optikfluffel

Use CSS Hyphens

p.hyphenize {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

Options are: none | manual | auto
Default is: manual


Basic Browser support (not for every language):

  • Chrome >= 13
  • Firefox >= 6
  • Internet Explorer >= 10
  • Safari >= 5.1

You can find more details and a live example at MDN

4 Responses
Add your response

result example? browser support? side effects?

over 1 year ago ·

@dpashkevich more like this? :)

over 1 year ago ·

Much better, thanks :)
Would be nice to have a brief introduction on what it is and why people should use it :)

over 1 year ago ·

I'll do it if I have more than a mobilephone to write. Thx for the feedback :)

over 1 year ago ·