CSSMatrixComponent: matrix property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The matrix property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.

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

Value

a matrix.

Examples

To do.

Specifications

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

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
matrix