CSSMathNegate: CSSMathNegate() constructor

Limited availability

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

The CSSMathNegate() constructor creates a new CSSMathNegate object which negates the value passed into it.

Syntax

js
new CSSMathNegate(arg)

Parameters

Examples

To do

Specifications

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

Browser compatibility

BCD tables only load in the browser