CSS rotate() function rotates an element into clockwise or anti-clockwise direction according to a given angle. You can compare image 1 and image 2 to see the differences.
Here Image 1 rotate 10 degrees clockwise.
Here Image 2 rotate -10 degrees anti-clockwise.
Here, Image 2 rotate -10 degree anti-clockwise from its current position.