Good to know
- Transforms do not move surrounding elements — the layout space stays where it was.
- The order of functions matters: rotate then translate is different from translate then rotate.
- Animate transform and opacity rather than top/left/width for smooth 60 fps animation.
- Add perspective for realistic 3D rotations.
Frequently asked questions
What is transform-origin?
The point the element rotates or scales around — the centre by default.
Can I use the separate rotate/scale properties?
Yes, modern browsers support them, but a single transform works everywhere.
Is it free?
Yes.

