The CSS 2D [1] and 3D [2] Transforms Modules specify that browsers should expose an implementation of the CSSMatrix interface; unfortunately, only WebKit does this at the moment. However, since that's also the only browser in which the CSS 3D Transforms Module is implemented, it doesn't really matter too much yet. WebKitCSSMatrix [3] provides most of the low-level code you'll want to generate 3D transforms, including the fundamental multiply and inverse methods, along with convenience methods for scaling, translating, rotating elements around the x, y and z axes and rotating around arbitrary (three-dimensional) vectors.<p>[1] <a href="http://www.w3.org/TR/css3-2d-transforms/" rel="nofollow">http://www.w3.org/TR/css3-2d-transforms/</a><p>[2] <a href="http://www.w3.org/TR/css3-3d-transforms/" rel="nofollow">http://www.w3.org/TR/css3-3d-transforms/</a><p>[3] <a href="http://developer.apple.com/safari/library/documentation/AudioVideo/Reference/WebKitCSSMatrixClassReference/WebKitCSSMatrix/WebKitCSSMatrix.html" rel="nofollow">http://developer.apple.com/safari/library/documentation/Audi...</a>