CSSMathProduct: CSSMathProduct() constructor

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The CSSMathProduct() constructor creates a new CSSMathProduct object which creates a new CSSMathProduct object which multiplies the arguments passed into it.

Syntax

js
new CSSMathProduct(args)

Parameters

args

A list of values for the CSSMathProduct object to be either a double integer or a CSSNumericValue.

Specifications

Specification
CSS Typed OM Level 1
# dom-cssmathproduct-cssmathproduct

Browser compatibility

BCD tables only load in the browser