非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-ms-wrap-through
CSS
特性为
Microsoft extension
that specifies how content should wrap around an exclusion element.
| 初始值 |
wrap
|
|---|---|
| 适用于 | block-level elements |
| 继承 | no |
| 计算值 | 如指定 |
| 动画类型 | discrete |
wrap
The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element.
none
The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element.
wrap | none
Not part of any specification.
可以使用
-ms-wrap-through
property to control the effect of exclusions; for instance, to cause one content block to wrap around an exclusion element and another to intersect the same exclusion element.
The wrapping context of a box is a collection of exclusion areas contributed by its associated exclusion boxes. The inline flow content of a box is placed in the area that corresponds to the subtraction of its wrapping context from its own content area. For more information about exclusion elements' impact on content flow, see the Terminology section of the CSS Exclusions Module Level 1 specification.