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

View in English Always switch to English

CSSMathNegate:CSSMathNegate() 构造函数

Limited availability

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

CSSMathNegate() 构造函数创建一个新的会对传入值取反的 CSSMathNegate 对象。

语法

js
new CSSMathNegate(arg)

参数

arg

CSSNumericValue

示例

待完成。

规范

Specification
CSS Typed OM Level 1
# dom-cssmathnegate-cssmathnegate

浏览器兼容性