2D Rotate & Scale
The rotate and scale transform functions spin and resize an element around its transform origin (defaulting to the element's centre).
rotate()
Accepts angle values: deg, rad, grad, or turn. Positive values rotate clockwise. The standalone rotate property is also available.
scale()
scale(1.2) scales uniformly. scale(x, y) scales independently per axis. A value of 1 is normal, 0.5 is half size, -1 flips the axis.
Combining Transforms
Chain multiple functions in one transform declaration. Order matters — transformations are applied right to left.