JavaScript-js或css可以做网页背景颜色的渐变吗
1个回答
展开全部
background-image: linear-gradient(bottom, rgb(120,149,179) 26%, rgb(212,215,219) 63%, rgb(143,166,191) 82%);
background-image: -o-linear-gradient(bottom, rgb(120,149,179) 26%, rgb(212,215,219) 63%, rgb(143,166,191) 82%);
background-image: -moz-linear-gradient(bottom, rgb(120,149,179) 26%, rgb(212,215,219) 63%, rgb(143,166,191) 82%);
background-image: -webkit-linear-gradient(bottom, rgb(120,149,179) 26%, rgb(212,215,219) 63%, rgb(143,166,191) 82%);
background-image: -ms-linear-gradient(bottom, rgb(120,149,179) 26%, rgb(212,215,219) 63%, rgb(143,166,191) 82%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.26, rgb(120,149,179)),
color-stop(0.63, rgb(212,215,219)),
color-stop(0.82, rgb(143,166,191))
);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询