CSSMathInvert()

Draft

This page is not complete.

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

var CSSMathInvert = new CSSMathInvert(arg);

Parameters

arg
A CSSNumericValue.

Exceptions

RangeError
Raised if the arg is 0 or -0.

Examples

To do

Specifications

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

Browser compatibility

BCD tables only load in the browser