How to use CSS Transform Generator

Move the sliders to transform the box and copy the resulting transform.

  1. Adjust the controls — the preview updates live.
  2. Copy the generated CSS.
  3. 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.

Ratings & reviews

No ratings yet. Signed-in users can rate this app.