CSS 3D Transform Sandbox – Online Rotate Translate Preview
Adjust rotateX/Y/Z and translate to see a 3D box in real time. Copy optimized CSS transform.
UD5 Toolkit
transform-origin property defines the pivot point around which a CSS transform (like rotate, scale, or skew) is applied. By default, this point is at the center of the element (50% 50%). Changing it allows you to control where the transformation "anchors" — for example, making an element rotate around its top-left corner instead of its center.
0% 0% refers to the top-left corner, 50% 50% is the center, and 100% 100% is the bottom-right corner. The X-axis runs horizontally (left to right), and the Y-axis runs vertically (top to bottom). You can also use values beyond 0–100% (like -20% or 120%) to place the origin outside the element.
top, bottom, left, right, and center. You can combine them like top left (equivalent to 0% 0%), center right (100% 50%), or bottom center (50% 100%). The default is center center which equals 50% 50%.
transform-origin: center center, an element spins in place like a wheel. Move the origin to top left, and the element swings like a door hinged at that corner. This is especially useful for animations like opening doors, swinging pendulums, or creating orbit effects.
-50% or 150% to position the origin outside the element's bounding box. This creates orbital effects where the element rotates around a distant point, or scales from an external anchor. It's a powerful technique for advanced animations and creative UI effects.
50% 50% (or center center). This means all transformations — rotate, scale, skew — pivot around the exact center of the element unless you specify otherwise. This is the most intuitive default for general use cases.
rotateX(), rotateY(), and perspective(), the transform-origin property accepts a third Z-axis value (e.g., transform-origin: 50% 50% 100px). This controls the depth pivot point, enabling complex 3D animations and parallax effects.
transform-origin on the element before defining @keyframes. The origin remains constant throughout the animation. For dynamic origin changes during animation, you'd need to include transform-origin inside the keyframe steps — though browser support for animating this property is limited. Consider using multiple elements or JavaScript for complex origin-shifting animations.
transform-origin has excellent browser support — it works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera, as well as IE10+. For mobile, it's supported on iOS Safari and Android Chrome. Just remember to use vendor prefixes (-webkit-, -moz-) if you need to support very old browser versions.
Adjust rotateX/Y/Z and translate to see a 3D box in real time. Copy optimized CSS transform.
Create CSS animations and transitions without coding. Define keyframes, easing, and duration. Copy the @keyframes and animation code instantly.
Create a looping animated gradient background with multiple color stops. Copy the complete CSS keyframes. Eye‑catching.
See how `animation‑composition: replace, add, accumulate` works by layering animations on the same property. Understand the spec.
Upload an animated GIF and generate a reversed version. Share the funny backwards motion. Works entirely in your browser via canvas.
Load a sprite sheet, define frames, and play an animation on a canvas. Control frame rate and loop. Game dev tool.
Search and filter all CSS properties that can be animated. See value types and example keyframes. Quick dev reference.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Trim a video clip and convert it into an animated GIF. Adjust frame rate and size. Processing stays on your computer for privacy.
Create a reflection effect for images or text using box‑reflect. Adjust direction and offset. Copy the CSS.
Select emojis and arrange them into a seamless tiling background. Copy the CSS data‑URI or download as image.
Convert animated GIFs to animated WebP format for smaller file size. Choose quality level. All processing in browser.
Drag pucks onto a digital lane to plan offensive and defensive shots. Practice before your next cruise.
Preview different touch feedback patterns (scale, color, ripple) for mobile buttons. Copy the CSS and HTML. Improve mobile UX.
Stack multiple background images and blend them with colors. Create unique textures. Copy the CSS code instantly.
Drag the virtual ring to perform multiplication, division, and unit conversions. Rediscover pre‑electronic calculator charm.
Rotate the hue of any image globally. Turn a red car blue instantly. Download the result. Works entirely in the browser.
Chain multiple CSS filter functions and see the result on an image. Copy the filter string. No upload.
Convert short video clips to GIFs with adjustable resolution, frame rate, and dithering. Preview before download. All local.
Try all object‑fit values (fill, contain, cover, scale‑down) on an image. Adjust object‑position. Copy the CSS.
Add a soft vignette to your photo. Control radius, darkness, and feathering. Creates a classic photographic look.
Generate an SVG placeholder image with custom text, width, height, and colors. Use as a placeholder service. Pure SVG.
Select a color in an image and change it to another hue. Canvas‑based, local processing.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Enter your bow's draw weight, arrow length, and point weight to find the correct arrow spine. Essential for tuning.
Set up a chess position using FEN notation or drag pieces. Share the position link or screenshot. No AI, just board.
Generate a link to an SVG placeholder image with a custom width, height, and text. Use as dummy image src. No server.
Drag words to the correct position in a sentence using in, on, at. Visual feedback.
Simulate how a palette looks under daylight, tungsten, or fluorescent light. Understand metamerism. For accurate color work.
Drag and drop pieces to set up a chess position. Generate FEN string and copy to share. Analyze openings. Local only.