CSSMatrixComponent()

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

The CSSMatrixComponent() constructor creates a new CSSMatrixComponent object representing the matrix() and matrix3d() values of the individual transform property in CSS.

Syntax

new CSSMatrixComponent(matrix)
new CSSMatrixComponent(matrix, options)

Parameters

matrix

A 2d or 3d matrix.

Examples

To do

Specifications

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

Browser compatibility

BCD tables only load in the browser