background-image:-webkit-gradient(linear,left top, left bottom,from(#132079),to(#7d26b1));
background-image:-webkit-linear-gradient(top,#132079,#7d26b1);
background-image:-o-linear-gradient(top,#132079,#7d26b1);
background-image:linear-gradient(to bottom,#132079,#7d26b1);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#132079, endColorstr=#7d26b1);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#132079, endColorstr=#7d26b1)";
gradient有3种方式语法:
1) old
2) tweener -- top
3) new -- to bottom
IE9以下用最后两条
IE10+ 用第四条,注意 "to bottom" 不要写成top (IE10+ 不认识)