非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

-ms-hyphenate-limit-chars CSS 特性为 Microsoft extension that specifies one to three values indicating the minimum number of characters in a hyphenated word. If the word does not meet the required minimum number of characters in the word, before the hyphen, or after the hyphen, then the word is not hyphenated.

初始值 auto
适用于 所有元素
继承 yes
计算值 如指定
动画类型 discrete

句法

auto

Corresponds to a value of 5 2 2, indicating a 5-character word limit, 2 characters required before a hyphenation break, and 2 characters required following a hyphenation break.

<integer> {1,3}

One to three integer values, corresponding to the word limit, the minimum number of characters required before a hyphenation break, and the minimum number of characters required following a hyphenation break, respectively.

If the third value is missing it is equal to the second.

If the second and third values are missing they are given a value of auto.

Negative values are not allowed.

形式句法

  auto | <integer>{1,3}
					

规范

Not part of any specification.

元数据

  • 最后修改:
  1. CSS
  2. CSS 参考