Skip to main content
忆云竹

CSS 2D and 3D transform generator

Preview translation, rotation, scale, skew and transform origins, with optional perspective and 3D controls.

3D options
Preview

The dashed outline marks the original position. Transform order affects the result; exported CSS uses the same order as this preview.

CSS

Processed in this browser. Nothing is uploaded or saved.

About this tool

Position or tilt an interface element and inspect the result against its original outline.

How to use

Adjust X/Y translation, rotation, axis scales, skew and the transform origin, using the original outline as a reference. Enable 3D to add perspective, Z translation and X/Y rotations. Copy or download both transform and transform-origin declarations.

The preview and export use identical parameters in a fixed transform order; rearranging functions can change the result. Negative scales flip the element, while a zero scale collapses that axis. This produces element styles, not a 3D model or a complete animation.

Common questions

Can I rearrange the generated transform functions?

You can reorder the functions by editing the exported CSS yourself; the interface has no reorder control. Preview and export use the same fixed order, and changing it can change the result. Negative scale flips an axis; zero scale collapses it.

Why does a translated or scaled element leave its original space behind?

CSS transforms change how an element is drawn without moving its original layout box. Neighboring content therefore keeps its original position. Use normal layout rules for spacing, and use transform-origin to choose the pivot for the visual transformation.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.