CSSMatrixComponent: matrix property

Baseline 2026
Newly available

Since November 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Note: This feature is available in Web Workers.

The matrix property of the CSSMatrixComponent interface represents a DOMMatrix object containing a 2D or 3D matrix.

See the matrix() and matrix3d() pages for examples.