CSSMathMin: CSSMathMin() 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 CSSMathMin() constructor creates a
new CSSMathMin object which represents the CSS
min() function.
Syntax
js
new CSSMathMin(args)
Parameters
args-
A list of numbers or
CSSNumericValueobjects.
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-cssmathmin-cssmathmin |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSMathMin() constructor
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- See implementation notes.