+ 6
Linear gradient
How can I change the background color to linear-gradient (on button click)?
3 Antworten
+ 4
I tried document.getElementById(""). Style.background = "linear-gradient(to right, red, black)"
But it didn't work...
+ 3
What is ""
+ 1
Here’s a full tutorial on CSS Graidents including how to use the linear-gradient property: https://youtu.be/TYHFe4L9bfo