CSS中的渐变背景写法

CSS渐变背景写法:
 
background: linear-gradient(20deg, #f84270 0%, #fe803b 100%);
 
background: linear-gradient(20deg, #a45c00 0%, #ed8600 100%);
 
background: linear-gradient(90deg, rgba(238,9,121,1) 0%, rgba(255,106,0,1) 100%) !important;


背景多色CSS:
background: #000 linear-gradient(to left, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);