CSS3 3D Transformation
3D Transformation
CSS3 allows you to use 3D transformations to format elements.
In this chapter, you will learn some of these 3D transformation methods:
rotateX()
rotateY()
How does it work?
Transformation is an effect that causes an element to change its shape, size, and position.
You can transform your elements using 2D or 3D transformations.
rotateX() method
rotateX() method rotates an element around its X-axis at a given degree.
rotateY() method
rotateY() method rotates an element around its Y-axis in a given degree.