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

View in English Always switch to English

CSSScale

Limited availability

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

CSS 类型对象模型 APICSSScale 接口表示 CSS 中 transform 属性的 scale()scale3d() 值。它继承其父接口 CSSTransformValue 的属性和方法。

CSSTransformComponent CSSScale

构造函数

CSSScale()

创建一个新的 CSSScale 对象。

实例属性

x

返回或设置 x 轴值。

y

返回或设置 y 轴值。

z

返回或设置 z 轴值。

示例

待完成。

规范

Specification
CSS Typed OM Level 1
# cssscale

浏览器兼容性