1The general syntax of linear-gradient is-
2background: linear-gradient(gradient direction, color1 , color2 , color3, .....);
3
4Forexample-
5background: linear-gradient(46deg,green,blue,yellow,pink);
6
7NOTE: (common mistake) we forget to write the semi-colon (;)
1background: linear-gradient(<angle>, color1 color1-stop-at, color2 color2-start-at);