Lifted card on hover
Translate Y: -4, Scale: 1.02 (others neutral)transform: translate(0px, -4px) rotate(0deg) scale(1.02) skew(0deg, 0deg);Combine translate, rotate, scale, and skew values with a live preview box and CSS export.
Loading interactive tool…
CSS transforms — translate, rotate, scale and skew — are the foundation of hover lift effects, tilted badges, skewed hero backgrounds, and GPU-accelerated animations. The CSS Transform Playground gives you six number inputs: Translate X and Translate Y in pixels, Rotate in degrees, Scale as a ratio (minimum 0.1), and Skew X and Skew Y in degrees. A gradient sample box in the preview applies the combined transform as you type, and Reset returns every value to neutral. The output is a single transform declaration that always lists the functions in the same order — translate, rotate, scale, skew — including any left at their neutral values, so you can delete what you do not need. Because transform functions apply in written order, rotating before translating gives a different result; the playground shows the result of this fixed order. 3D functions, perspective and transform-origin are not included.
Four 2D Functions: translate, rotate, scale and skew each have number inputs — Translate X/Y in px, Rotate and Skew X/Y in degrees, Scale as a ratio — so you can combine them without writing test code.
Fixed Order: The output always lists translate, then rotate, then scale, then skew. Transform functions apply in written order, so the preview shows exactly what that sequence produces.
Live Box: A 72px gradient box in the preview applies the transform on every keystroke, so you can see offset, rotation and distortion together.
Reset Button: One click returns all six inputs to their neutral values (0, and 1 for scale), giving you a clean baseline without reloading the page.
Copy CSS: The output is a single transform declaration including every function, even ones left at neutral values, ready to paste into a :hover rule or @keyframes stop.
Translate Y: -4, Scale: 1.02 (others neutral)transform: translate(0px, -4px) rotate(0deg) scale(1.02) skew(0deg, 0deg);Rotate: -3, Skew X: 2 (others neutral)transform: translate(0px, 0px) rotate(-3deg) scale(1) skew(2deg, 0deg);Translate X: 20, Rotate: 45, Scale: 1.5transform: translate(20px, 0px) rotate(45deg) scale(1.5) skew(0deg, 0deg);Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.