CSSScale:z 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
CSSScale
接口的 z
属性表示平移向量的 z 分量。正值会使元素向观察者移动,负值则使元素远离观察者。
如果此值存在,则变换为 3D 变换,且 is2D
属性将设置为 false。
值
CSSNumericValue
。可以设置为数值(该数值会被包装在具有 unit: "number"
的 CSSUnitValue
中)。
示例
待完成
规范
Specification |
---|
CSS Typed OM Level 1> # dom-cssscale-z> |
浏览器兼容性
Loading…