Runs in your browser — nothing is uploaded
How to use CSS Transform Generator
Move the sliders to transform the box and copy the resulting transform.
- Adjust the controls — the preview updates live.
- Copy the generated CSS.
- Paste it into your stylesheet.
About CSS Transform Generator
CSS transform moves, rotates, scales and skews an element without changing the layout around it. The order of the functions matters: translating then rotating gives a different result from rotating then translating.
transform-origin sets the point the element rotates and scales around, and perspective adds depth to 3D tilts. Copy the generated declaration into your stylesheet.
Questions
Does a transform affect the layout?
No. Neighbouring elements keep their positions, which also makes transforms cheap to animate.
Do I need vendor prefixes?
No. Current browsers support 2D and 3D transforms without prefixes.