1. 面向开发者的 Web 技术
  2. Web API
  3. CSSRotate

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

View in English Always switch to English

CSSRotate

Limited availability

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

CSS 类型对象模型 APICSSRotate 接口表示 CSS 中 transform 属性的旋转值。它继承父接口 CSSTransformValue 的属性和方法。

CSSTransformComponent CSSRotate

构造函数

CSSRotate()

创建一个新的 CSSRotate 对象。

实例属性

x

返回或设置 x 轴的值。

y

返回或设置 y 轴的值。

z

返回或设置 z 轴的值。

angle

返回或设置角度值。

示例

待完成。

规范

Specification
CSS Typed OM Level 1
# cssrotate

浏览器兼容性

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /