rotate

The rotate(a) function rotates an element in 2D space around a pivot point by the given angle a. The default pivot point is at the center of the element and can be changed using the transform-origin property.

Syntax



transform: rotate(angle);