css样式颜色渐变

1、向中间:background: -webkit-radial-gradient(50% 6%, circle farthest-side, #CAD06C 0, #297141100%);

2、向下:background: linear-gradient(to bottom, #0084c9 0%, #38b9fd 100%);

 

posted @ 2017-11-10 09:54  哈哈,飞起来  阅读(193)  评论(0编辑  收藏  举报