13

3D TRANSFORMATIONS

Image

All of the features and functions I’ve discussed in this book so far have involved two dimensions; every element has height and width, and all of the calculations have involved only the x-axis and y-axis. But with the introduction of the z-axis in the CSS Transforms Module, CSS3 offers a revolutionary way to transform an element in the third dimension (you can learn more at http://www.w3.org/TR/css-transforms-1/).

At the time I wrote the first edition of this book, only Safari (for Mac and iOS) supported 3D transformations, but now just a few years later, stable implementations are in place across all major browsers, including ...

Get The Book of CSS3, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.