Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 904 Bytes

File metadata and controls

43 lines (29 loc) · 904 Bytes
title short-title slug page-type status browser-compat
CSSMathMax: CSSMathMax() constructor
CSSMathMax()
Web/API/CSSMathMax/CSSMathMax
web-api-constructor
experimental
api.CSSMathMax.CSSMathMax

{{SeeCompatTable}}{{APIRef("CSS Typed Object Model API")}}

The CSSMathMax() constructor creates a new {{domxref("CSSMathMax")}} object which represents the CSS {{CSSXref('max', 'max()')}} function.

Syntax

new CSSMathMax(args)

Parameters

  • args
    • : A list of values for the {{domxref('CSSMathProduct')}} object to be either a double integer or a {{domxref('CSSNumericValue')}}.

Exceptions

  • TypeError
    • : Thrown if there is a failure when adding all of the values in args.

Examples

To do

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}