此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

CSSRotate:z 属性

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

CSSRotate 接口的 z 属性表示平移向量的 z 分量。正值会使元素向观察者移动,负值则使元素远离观察者。

CSSNumericValue。可以设置为数字(该数字会被包装在 unit: "number"CSSUnitValue 中)。

示例

待完成。

规范

Specification
CSS Typed OM Level 1
# dom-cssrotate-z

浏览器兼容性