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