Skip to content

CSS Transform Builder

Compose a transform: chain from ten functions, set the transform origin on a 3×3 grid, and drag the handles on the preview to move, rotate and scale. Copy the finished CSS in one click.

Preview

Drag the box to move · the corner knob to rotate · the right knob to scale

Sample elementtranslateY(-6px) scaleX(1.1) scaleY(1.1) rotate(-8deg)

Transform functions

Translate

0px
-6px

Scale

1.1×
1.1×

Rotate

-8deg
0deg
0deg
0deg

Skew

0deg
0deg

Neutral values (4 of 10 functions active) are omitted from the generated CSS so the output stays readable.

Transform origin

transform-origin: 50% 50%;

Origin centre: the point that stays put while everything else moves around it.

Presets

Active chain

translateY(-6px)scaleX(1.1)scaleY(1.1)rotate(-8deg)

Applied in this order. Each function multiplies onto the one before it, so the sequence changes the result.

Generated CSS

.element {
  transform: translateY(-6px) scaleX(1.1) scaleY(1.1) rotate(-8deg);
  transform-origin: 50% 50%;
  transition: transform 320ms ease;
}
320 ms

Good to know

  • Order matters — translate then rotate differs from rotate then translate.
  • This tool always emits functions in the same fixed order for predictability.
  • 3D rotations need a perspective on the parent to look convincing; the preview has one.
  • Only transform and opacity animate cheaply on the compositor — prefer them over layout properties.

About this tool

This CSS transform builder composes a transform: chain from translate, scale, rotate, skew and 3D rotation functions, and shows the result live on a sample element. Drag the element itself to translate it, drag the violet knob to rotate and the dark knob to scale — the slider values follow the pointer, because the tool reads the element's computed matrix rather than guessing.

The transform origin is set on a 3×3 grid, which is the difference between a box rotating about its own centre and swinging around a corner. Everything is computed in your browser with plain arithmetic and the DOM's own matrix values — no libraries, no uploads and no network requests.

  • 100% free — no account needed
  • Runs in your browser
  • Nothing is uploaded

Frequently asked questions

Is CSS Transform Generator really free?

Yes. CSS Transform Generator is completely free on PureBrowser — every feature, with no account, no trial, and no credit card.

Does CSS Transform Generator upload my data?

No. CSS Transform Generator runs entirely inside your browser, so anything you type, paste, or open stays on your own device.

Do I need to sign up or install anything?

Neither. There is no account and nothing to download — open the page and CSS Transform Generator is ready to use on desktop or mobile.

Does CSS Transform Generator work offline?

Once the page has loaded, yes. All of the processing happens locally in your browser, so it keeps working without a connection.