.);
direction:用角度值指定渐变的方向(或角度);
color-stop1,color-stop2,......:用于指定渐变的起止颜色
ps:至少需要两种颜色
background: -webkit-linear-gradient(red,yellow,blue);
background: -o-linear-gradient...: linear-gradient(to top,#d3959b,#bfe6ba);
to top 设置渐变从下到上,相当于0deg
4、background: linear-gradient(to...)
7、background: linear-gradient(45deg,#d3959b 20%,#bfe6ba);
用百分比指定起始颜色的位置,默认值为0%;
8、background: linear-gradient...linear-gradient(45deg,rgba(254,172,94,0.5),rgba(199,121,208,0.5),rgba(75,192,200,0.5));
rgba使用了0.5的透明度