CSSMathInvert()

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The CSSMathInvert() constructor creates a new CSSMathInvert object which represents a CSS calc() used as calc(1 / value)

Syntax

new CSSMathInvert(arg)

Parameters

Exceptions

RangeError

Raised if the arg is 0 or -0.

Examples

To do

Specifications

Specification
CSS Typed OM Level 2
# dom-cssmathinvert-cssmathinvert

Browser compatibility

BCD tables only load in the browser