Please tell me how to do that when you hover on the button appeared the effect of brilliance. I thought that this can be achieved in this way.
a{ transition: all 1s ease 0s; } a:hover { background: linear-gradient(45deg, red, white); } <br> Buttons are made in the form of a list with links (schematically below)
<ul> <li> <a> Text</a> </li> </ul> It turns out that the gradient is superimposed on the whole area at once, but the text goes with a delay (Which is not very pleasant :() Ideally, a narrow strip of the gradient would pass from the lower left to the upper right corners. Please help me. Any ideas are accepted!