The rotate()method

The rotate() method rotates an elements clockwise or counter-clockwis.

This a normal div element.
This div element is rotated clockwise 20 degrees.