CSS Gradient & Animation Generator
Create beautiful gradient animations with real-time preview and copy-ready CSS code
3s
Preview
Generated CSS Code
/* Gradient Animation */
@keyframes gradientAnimation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.gradient-animation {
background: linear-gradient(to right, #3498db, #e74c3c);
background-size: 200% 200%;
animation: gradientAnimation 3s linear infinite;
}
How to Use CSS Gradient & Animation Generator
Features:
- Choose custom colors for your gradient
- Select gradient direction
- Adjust animation duration and timing
- Real-time preview of your animation
- Copy-ready CSS code
Implementation Guide:
- Select your desired colors using the color pickers
- Choose the gradient direction from the dropdown
- Adjust the animation duration using the slider
- Select an animation timing function
- Copy the generated CSS code
- Paste the code into your CSS file