CSSMatrix

This article is in need of a technical review.

Our volunteers haven't translated this article into عربي yet. Join us and help get the job done!

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

A CSSMatrix represents a homogeneous 4x4 matrix to which 2D or 3D transforms can be applied. This class was allegedly part of CSS Transitions Module Level 3 at some point, but is not present in the current Working Draft. Use DOMMatrix instead.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? 10[1] ? (Yes)[2]
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 11[1] ? (Yes)[2]

[1] Internet Explorer implements this API as MSCSSMatrix. In version 11 the alias WebKitCSSMatrix was added.

[2] WebKit implements this API as WebKitCSSMatrix.

See also

Document Tags and Contributors

Contributors to this page: Sebastianz, cvrebert, fscholz, kscarfone
Last updated by: Sebastianz,