Animated gradients create dynamic, attention-catching backgrounds without JavaScript. FixTools generates CSS keyframe animations for gradient backgrounds using the background-position technique — the most widely supported approach to gradient animation in CSS.
Generates @keyframes animation for moving gradients
Uses the background-position technique for smooth animation
Configurable animation speed and direction
CSS Tool
All processing happens in your browser — your files are never uploaded to any server.
🚀Open Gradient100% Free · No account · Works on any device
Generate animated gradient CSS: background: linear-gradient(270deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradientShift 8s ease infinite; with the matching @keyframes gradientShift block.
Step-by-step guide to css gradient animation — moving gradient backgrounds:
Choose 3-4 gradient colours
Animated gradients look best with 3 or 4 distinct colours. Choose your palette.
Set gradient direction
Use 270deg or 45deg for horizontal/diagonal movement. The animation effect works by shifting the background-position across an oversized gradient.
Set background-size
Set background-size: 400% 400% (or larger). This creates the oversized gradient that the animation moves across.
Add the animation
Add animation: gradientShift 8s ease infinite and the @keyframes block that moves background-position from 0% 50% to 100% 50% and back.
Copy the complete CSS
Copy both the element styles and the @keyframes rule. Both are required for the animation to work.
More use-case guides for the same tool:
Other tools you might find useful:
Open the full Gradient — free, no account needed, works on any device.
Open Gradient →Free · No account needed · Works on any device