background-image: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
background-image: -moz-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
background-image: -o-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
background-image: linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
兼容ie渐变色:
background: -webkit-gradient(linear, 0 0, 0 0, from(rgba(255,255,255,1)), to(rgba(255,255,255,0)));
background: -webkit-linear-gradient(right,rgba(255,255,255,0), rgba(255,255,255,1));
background: -moz-linear-gradient(right,rgba(255,255,255,0), rgba(255,255,255,1));
background: -o-linear-gradient(right,rgba(255,255,255,0), rgba(255,255,255,1));
background: -ms-linear-gradient(right,rgba(255,255,255,0), rgba(255,255,255,1));
background: linear-gradient(right,rgba(255,255,255,0), rgba(255,255,255,1));
filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr = rgba(255,255,255,1), endColorstr = rgba(255,255,255,0));