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

View in English Always switch to English

CSSMathNegate:CSSMathNegate() 构造函数

有限可用

此特性不属于基线,因为它尚未在主流浏览器中得到支持。

Want more support for this feature? Tell us why.

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

语法

js
new CSSMathNegate(arg)

参数

arg

CSSNumericValue

示例

待完成。

规范

规范
CSS Typed OM Level 1
# dom-cssmathnegate-cssmathnegate

浏览器兼容性