the unique non-ambiguous order defined by the formal grammar
语法
word-break: normal
word-break: break-all
word-break: keep-all
/* Global values */word-break: inherit;word-break: initial;word-break: unset;
值
normal
使用默认的断行规则。
break-all
对于non-CJK (CJK 指中文/日文/韩文) 文本,可在任意字符间断行。
keep-all
CJK 文本不断行。 Non-CJK 文本表现同
normal。
正式语法
示例
HTML
<p>1. <code>word-break: normal</code></p><pclass="normal narrow"> This is a long and Supercalifragilisticexpialidocious sentence. 次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 </p><p>2. <code>word-break: break-all</code></p><pclass="breakAll narrow"> This is a long and Supercalifragilisticexpialidocious sentence. 次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 </p><p>3. <code>word-break: keep-all</code></p><pclass="keep narrow"> This is a long and Supercalifragilisticexpialidocious sentence. 次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉</p>
初始值normal适用元素all elements是否是继承属性yes适用媒体visual计算值as specifiedAnimation typediscrete正规顺序the unique non-ambiguous order defined by the formal grammar语法word-break: normal word-break: break-all word-brea...