Back to Content

CSSMathNegate

files/en-us/web/api/cssmathnegate/index.md

latest884 B
Original Source

{{APIRef("CSS Typed Object Model API")}}

The CSSMathNegate interface of the CSS Typed Object Model API negates the value passed into it. It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.

{{InheritanceDiagram}}

Constructor

  • {{domxref("CSSMathNegate.CSSMathNegate", "CSSMathNegate()")}}
    • : Creates a new CSSMathNegate object.

Instance properties

  • {{domxref('CSSMathNegate.value')}} {{ReadOnlyInline}}
    • : Returns a {{domxref('CSSNumericValue')}} object.

Static methods

The interface may also inherit methods from its parent interface, {{domxref("CSSMathValue")}}.

Instance methods

The interface may also inherit methods from its parent interface, {{domxref("CSSMathValue")}}.

Examples

To do

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}