CSSMathInvert: CSSMathInvert() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The CSSMathInvert() constructor creates a
new CSSMathInvert object which represents a CSS
calc() used as calc(1 / value)
Syntax
js
new CSSMathInvert(arg)
Parameters
Exceptions
RangeError-
Raised if the arg is 0 or -0.
Examples
To do
Specifications
| Specification |
|---|
| CSS Typed OM Level 1> # dom-cssmathinvert-cssmathinvert> |
Browser compatibility
Loading…