linear-gradient线性渐变 linear-gradient:top(开始方向)||45deg(角度) color(开始颜色) color(结束颜色)。 转载于:https://www.cnblogs.com/7-Eleven/p/5634767.html