CSSMathMin: CSSMathMin() constructor

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 values for the CSSMathProduct object to be either a double integer or a CSSNumericValue.

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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
CSSMathMin() constructor
Experimental