Run ❯
×
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.