The transform
property in CSS allows you to visually manipulate an element by rotating, scaling, skewing, or translating it. These transformations do not affect the document flow but can enhance user interfaces with dynamic and interactive visual effects.
transform: rotate(45deg);
Rotates an element clockwise or counterclockwise by a specified degree.