線性漸變/輻射漸變/透明度

線性漸變: 顏色從左向右或者從上到下過渡。 用linear-gradient來設置。 linear-gradient(where,color1,color2) where:表示漸變方向,爲to left /to right /to bottom /to top color1:起始顏色 color2:結束顏色 使用方法:把linear-gradient設爲background-image的屬性的值。
相關文章
相關標籤/搜索