Home
CSS
CSS 3D Transforms
Tryit: The rotateZ() method
Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
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.