线性渐变/辐射渐变/透明度

线性渐变: 颜色从左向右或者从上到下过渡。 用linear-gradient来设置。 linear-gradient(where,color1,color2) where:表示渐变方向,为to left /to right /to bottom /to top color1:起始颜色 color2:结束颜色 使用方法:把linear-gradient设为background-image的属性的值。
相关文章
相关标签/搜索