CSSTransformComponent:is2D 属性
基线 2026>
最近可用
自 2026年11月 起,此特性已在最新浏览器中得到支持。但在较旧的设备或浏览器中可能无法运行。
Want more browser support for this feature? Tell us why.
CSSTransformComponent 接口的只读属性 is2D 用于指示变换是 2D 还是 3D。
值
布尔值。如果变换是 2D 变换,则为 true;如果是 3D 变换,则为 false。
示例
待完成。
规范
| 规范 |
|---|
| CSS Typed OM Level 1> # dom-csstransformcomponent-is2d> |