📜  如何在css代码示例中插入渐变

📅  最后修改于: 2022-03-11 14:47:34.088000             🧑  作者: Mango

代码示例6
The general syntax of linear-gradient is-
background: linear-gradient(gradient direction, color1 , color2 , color3, .....);

Forexample-
background: linear-gradient(46deg,green,blue,yellow,pink);

NOTE: (common mistake) we forget to write the semi-colon (;)