Home
CSS
CSS 2D Transforms
Tryit: The rotate() method
Run ❯
zig
.
com
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
The rotate() Method
The rotate() method rotates an element clockwise or counter-clockwise.
This a normal div element.
This div element is rotated clockwise 20 degrees.