Back to Content

CSSMathInvert

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

latest925 B
Original Source

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

The CSSMathInvert interface of the CSS Typed Object Model API represents a CSS {{CSSXref('calc','calc()')}} used as calc(1 / <value>). It inherits properties and methods from its parent {{domxref('CSSNumericValue')}}.

{{InheritanceDiagram}}

Constructor

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

Instance properties

  • {{domxref('CSSMathInvert.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}}