Transition to linear-gradient, how to do?

the button is
background: linear-gradient(to top, #3a7d3c, #59c45c);

on hover
background: linear-gradient(to top,#a90000#ff0000);

give the button transition:0.5 s linear gradient
not running smooth
April 7th 20 at 11:56
1 answer
April 7th 20 at 11:58

transition and gradients are not friends that you can hack to do through the imposition of a pseudo-element.

Find more questions by tags CSS