DEV Community

Discussion on: Animating Gradients with Pure CSS

Collapse
 
cedricgourville profile image
Cédric Gourville

Hey. I found an other solution but if involves to add an absolute element.
linear gradient from SVG can be animated so you can change the color and the stop color offset. all properties can be animated.

Collapse
 
gmeben profile image
Grant Eben

Sure, but at the very least you still need CSS to animate the SVG. My technique bypasses the need for SVG.