CSS3 3D Transforms
CSS3 3D Transforms
CSS3 enables you to arrange your components utilizing 3D transformations.
You can turn off all changes connected to a component utilizing the none capacity: change: none;
Mouse over the components underneath to see the contrast between a 2D what's more, a 3D transformation:
Browser Support for 3D Transforms
The numbers in the table determine the primary program form that completely bolsters the property.
Numbers pursued by - webkit-, - moz-, or - o-indicate the main form that worked with a prefix.
Property | ||||||
---|---|---|---|---|---|---|
transform | 36.0 12.0 - webkit- |
12.0 | 10.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
transform-origin (three-esteem syntax) |
36.0 12.0 - webkit- |
12.0 | 10.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
transform-style | 36.0 12.0 - webkit- |
12.0 | 11.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
perspective | 36.0 12.0 - webkit- |
12.0 | 10.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
perspective-origin | 36.0 12.0 - webkit- |
12.0 | 10.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
backface-visibility | 36.0 12.0 - webkit- |
12.0 | 10.0 | 16.0 10.0 - moz- |
4.0 - webkit- | 23.0 15.0 - webkit- |
CSS3 3D Transforms
In this part you will find out about the accompanying 3D change methods:
rotateX()
rotateY()
rotateZ()
The rotateX() Method

The rotateX()
technique pivots a component around its X-hub at a given degree:
Example
div
{
- webkit-change: rotateX(160deg);/* Safari */
change: rotateX(160deg);
}
Try it yourself »
The rotateY() Method

The rotateY()
technique pivots a component around its Y-hub at a given degree:
Example
div
{
- webkit-change: rotateY(120deg);/* Safari */
change: rotateY(120deg);
}
Try it yourself »
The rotateZ() Method
The rotateZ()
technique pivots a component around its Z-hub at a given degree:
Example
div
{
- webkit-change: rotateZ(90deg);/* Safari */
change: rotateZ(90deg);
}
Try it yourself »