CSS3背景渐变,兼容IE
IE下使用滤镜的方法背景渐变
div{
background:#a9a9a9;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#838383');
background: linear-gradient(top, #a9a9a9, #838383);
background: -moz-linear-gradient(top, #a9a9a9, #838383);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a9a9a9), to(#838383));
}
暂无标签