linear-gradient(颜色渐变,)
例:to left设置渐变方向,也可以换成to right => to top => to bottom
background: linear-gradient(to left, #6be585, #dd3e54);
效果图:
标签:颜色,linear,gradient,渐变,属性,css,left From: https://www.cnblogs.com/zsbb/p/16770978.html
linear-gradient(颜色渐变,)
例:to left设置渐变方向,也可以换成to right => to top => to bottom
background: linear-gradient(to left, #6be585, #dd3e54);
效果图:
标签:颜色,linear,gradient,渐变,属性,css,left From: https://www.cnblogs.com/zsbb/p/16770978.html