Translate

Combine translation, scale, rotation, skew, perspective, and transform origin.

Preview

A transform shifts visual coordinates horizontally, vertically, or both while leaving layout flow unchanged.

Preview
Translate

Implement Translate: Combine translation, scale, rotation, skew, perspective, and transform origin. Use Duration 280ms, Transform translate, Distance 36px, Angle 12deg, Start scale 92%, Origin center, Easing soft. Trigger it once when state changes and keep it replayable. Use semantic HTML, scope CSS to .motion-demo--translate. Provide equivalent low-motion behavior for prefers-reduced-motion and .force-reduced-motion.

Learn more