CSS Transform Generator

Move, rotate, scale and skew an element visually and copy the transform CSS.

FreeNo sign-upPrivate — runs in your browser
CSS
CSS

How to use the CSS Transform Generator

  1. Move the slidersTranslate, rotate, scale and skew the box. The dashed outline shows where it started.
  2. Set the originChoose the point the element rotates and scales around, such as the center or top left.
  3. Copy the CSSCopy the transform line. Values left at their defaults are left out to keep it short.

Example

Rotate 15° and scale 1.2 gives transform: rotate(15deg) scale(1.2);

Add a 3D tilt and the tool adds perspective(600px) first, so the depth is visible.

Frequently asked questions

Does the order of transforms matter?

Yes. Transforms are applied in order, so rotating and then moving is different from moving and then rotating. This tool uses a fixed, predictable order: translate, rotate, scale, skew.

Do transforms affect the page layout?

No. The element still takes up its original space, and nearby content does not move. This makes transforms smooth and cheap to animate.

Why use transform instead of top and left?

Browsers can animate transform on the graphics card without recalculating layout, so movement is smoother, especially on phones.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester