非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-ms-hyphenate-limit-lines
CSS
特性为
Microsoft extension
specifying the maximum number of consecutive lines in an element that may be ended with a hyphenated word.
| 初始值 |
no-limit
|
|---|---|
| 适用于 | block container elements |
| 继承 | yes |
| 计算值 | 如指定 |
| 动画类型 | discrete |
no-limit
Indicates that hyphenation is not limited based on the number of consecutive hyphenated lines. In the flow above the consecutive hyphenated lines limit would be an infinitely large positive number.
<integer>
Indicates the maximum number of successive hyphenated lines.
For instance, if 2, then no more than 2 successive lines may end with a hyphenated word. If 0 then no lines may end with a hyphenated word. (Hyphenation is effectively disabled.)
Negative values are not allowed.
no-limit | <integer>
Not part of any specification.