Home
CSS
CSS 3D Transforms
Tryit: The rotateX() method
Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
The rotateX() Method
The rotateX() method rotates an element around its X-axis at a given degree.
This a normal div element.
This div element is rotated 150 degrees.