1. background#1b6c9b;

  2.    filteralpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=1);

  3.    -ms-filteralpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=1);

  4.    background-moz-linear-gradient(top, red, rgba(0, 0, 255, 0.5));

  5.    background-webkit-gradient(linear, 0 0, 0 bottom, from(#1388BF), to(rgb(47, 81, 142)));



兼容多种浏览器