How to animate background gradient of a button by web sources? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
- 1

How to animate background gradient of a button by web sources?

I mean running patch of reflected light.

9th May 2019, 2:31 PM
Сергей Чернышов
Сергей Чернышов - avatar
3 Respostas
- 1
background: linear-gradient(blue 20%, yellow 30%, green 85%) and use js to change %%
9th May 2019, 2:33 PM
Сергей Чернышов
Сергей Чернышов - avatar
- 1
But percentage of a gradient goes wrong so I didn't still ( Any ideas?
9th May 2019, 4:09 PM
Сергей Чернышов
Сергей Чернышов - avatar
- 1
Shame on me. Understood start points in gradient parameters.
9th May 2019, 5:16 PM
Сергей Чернышов
Сергей Чернышов - avatar