CSSMathMax: CSSMathMax() constructor
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The CSSMathMax() constructor creates a
new CSSMathMax object which represents the CSS max() function.
Syntax
js
new CSSMathMax(args)
Parameters
args-
A list of values for the
CSSMathProductobject to be either a double integer or aCSSNumericValue.
Exceptions
TypeError-
Thrown if there is a failure when adding all of the values in args.
Examples
To do
Specifications
| Specification |
|---|
| CSS Typed OM Level 1> # dom-cssmathmax-cssmathmax> |
Browser compatibility
Loading…