Gradients are a v cool CSS feature that I didn't know about until now.
So for example if you want a gradient that goes from black on the left to cyan on the right you'd use this:
background:linear-gradient(90deg,#000,#0ff);
The deg thing is how it's rotated so for example 45deg would be diagonal, and the hex codes are the colours at the end (i think u can use hex codes 2 but i prefer these)