css背景颜色渐变

发表时间:2018-08-21 08:57    责任编辑:莫都晨晓    浏览:
<div style="background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #6f7275 0%, #31353a 100%) repeat scroll 0 0; width:100%; height:800px;">123</div>

css背景颜色渐变
通过设置两种颜色数值设置渐变颜色,设置百分比可以调整渐变位置。
15063366547
286601999
微信咨询