CSS Animation Generator - Online Keyframes & Transitions
Create CSS animations and transitions without coding. Define keyframes, easing, and duration. Copy the @keyframes and animation code instantly.
UD5 Toolkit
Explore how animation-composition controls the blending of multiple CSS animations on the same property.
Only shake is visible — movement range: ±12px
Full range: -12 to +82px — both animations combined
Accumulated range: ±47px — builds on previous state
animation-fill-mode.
animation-composition do?
replace), the last animation overrides previous ones. With add, values are summed. With accumulate, values build up across iterations — perfect for progressive effects like score counters or layered motion.
add vs replace?
accumulate different from add?
animation-fill-mode: forwards or non-infinite iterations — accumulated values persist and build up. For infinite looping animations (like this demo), add and accumulate appear very similar. The difference becomes clear with finite, non-looping animations.
animation-composition work with all CSS properties?
transform, translate, rotate, scale, and numeric properties like opacity or margin. For color properties or discrete values, the effect is less intuitive. It shines brightest with transform components where you want independent control over different aspects of motion.
animation-composition: Chrome 112+, Firefox 115+, Safari 16+, and Edge 112+. It's safe for production use with a fallback (the default replace behavior applies when unsupported). Always test on your target browser range.
animation-composition applies to the entire animation, not per-property. If you need per-property control, split your effects into separate animations and assign each its own composition mode. For example, one animation for translateX with add, and another for opacity with replace.
animation-composition: add, both animations run independently and combine naturally — the character bobs while shaking when hit. Without it, you'd need to manually merge keyframes, which is brittle and hard to maintain.
CSS.supports('animation-composition', 'add') or check the computed style of an element. For a fallback, wrap your add/accumulate rules in a @supports (animation-composition: add) { ... } block so unsupported browsers gracefully degrade to replace behavior.
Create CSS animations and transitions without coding. Define keyframes, easing, and duration. Copy the @keyframes and animation code instantly.
Search and filter all CSS properties that can be animated. See value types and example keyframes. Quick dev reference.
Create a looping animated gradient background with multiple color stops. Copy the complete CSS keyframes. Eye‑catching.
Click on a box to set the transform‑origin point and see how rotations and scales change. Copy the CSS.
Load a sprite sheet, define frames, and play an animation on a canvas. Control frame rate and loop. Game dev tool.
Create a 'drawing' effect for any SVG path. Adjust speed and delay. Copy the CSS and SVG code. No JS needed.
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Acquire and release locks across tabs. Prevent race conditions in IndexedDB or localStorage. Visual queue and lock state.
Test the Fullscreen API: request fullscreen on a colored div, detect changes, and copy the JavaScript boilerplate.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Upload two images and apply CSS blend modes (multiply, screen, overlay, etc.). See the result and copy the filter CSS. Pure frontend.
Create a pure CSS countdown timer with a flipping number effect. Adjust duration and style. No JavaScript needed for display.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Paste a Kanji and watch it drawn stroke by stroke with numbered sequence. Excellent for learners. Static data set.
Find safe mixing ratios for the classic elephant toothpaste demonstration. Volume adjustments for different container sizes.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Paste Lottie JSON code or upload a .json file and see the animation play. Control speed and loop. Perfect for developers.
Browse and search all Font Awesome 6 icons with preview, class name, and unicode. Copy the HTML snippet. Perfect for web developers.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.