webdesign/CSS

줄바꿈 하이픈

yunsoo.note 2018. 9. 14. 17:54

https://css-tricks.com/almanac/properties/h/hyphenate/

.element {
  hyphens: none | manual | auto
}

The hyphens property controls hyphenation of text in block level elements. You can prevent hyphenation from happening at all, allow it, or only allow it when certain characters are present.

Note that hyphens is language-sensitive. Its ability to find break opportunities depends on the language, defined in the lang attribute of a parent element. Not all languages are supported yet, and support depends on the specific browser.

 

http://wd501.tistory.com/212