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

View in English Always switch to English

CSSScale:x 属性

Limited availability

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

CSSScale 接口的 x 属性用于获取和设置平移向量的横坐标或 x 轴。

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

示例

待完成。

规范

Specification
CSS Typed OM Level 1
# dom-cssscale-x

浏览器兼容性