The rotate CSS function defines a transformation that rotates an element around a fixed point on the 2D plane without deforming it Its result is a data type The fixed point that the element rotates around mentioned above is also known as the transform origin This defaults to the center of the element but you can set your own custom transform origin using the