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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
CSSMathNegate() constructor