Back to Content

CSSMatrixComponent: matrix property

files/en-us/web/api/cssmatrixcomponent/matrix/index.md

latest413 B
Original Source

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

The matrix property of the {{domxref("CSSMatrixComponent")}} interface gets and sets a 2d or 3d matrix.

See the {{cssxref("transform-function/matrix", "matrix()")}} and {{cssxref("transform-function/matrix3d", "matrix3d()")}} pages for examples.

Value

a matrix.

Examples

To do.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}