线性渐变:background:linear-gradient(渐变角度,起始颜色,结束颜色) 渐变角度:To bottom,To top,To left,To right 或30deg 90deg 圆渐变: background:radial-gradient(起始颜色,结束颜色),从圆心点开始渐变