jojuniori
4/19/2017 - 8:04 PM

CSS3 Background渐变

线性渐变 
https://www.w3cplus.com/css3/new-css3-linear-gradient.html
background-image:linear-gradient(to left,orange,green);
linear-gradient([[<angle> | to <side-or-corner> ],]?<color-stop>[,<color-stop>]+)


径向渐变
https://www.w3cplus.com/css3/new-css3-radial-gradient.html
background-image: radial-gradient(hsla(120,70%,60%,.9),hsla(360,60%,60%,.9));
radial-gradient([[<shape> || <size>] [at <position>]?,| at <position>,]?<color-stop>[,<color-stop>]+);