颜色渐变处理

来源:互联网 发布:如何开一家淘宝服装店 编辑:程序博客网 时间:2024/05/16 18:27
.changered{    background-image: -moz-linear-gradient(top, red, white); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, red), color-stop(1,white)); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='red', endColorstr='white', GradientType='0'); }


效果图如下:




0 0
原创粉丝点击