This article needs a technical review. How you can help.

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.


Specification Status Comment
Web Compatibility Standard
The definition of 'WebKitCSSMatrix' in that specification.
Living Standard Initial standardization of the WebKit-prefixed version, WebKitCSSMatrix.

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: cvrebert, Sebastianz, fscholz, kscarfone
 Last updated by: cvrebert,