Internet explorer 为什么';这个梯度在IE9上不起作用吗?

Internet explorer 为什么';这个梯度在IE9上不起作用吗?,internet-explorer,css,internet-explorer-9,gradient,Internet Explorer,Css,Internet Explorer 9,Gradient,CSS: 为什么IE版本的gradient不起作用?我好像找不到哪里不对劲 尝试设置GradientType属性: background-image: linear-gradient(bottom, #000000 29%, #999999 65%); background-image: -o-linear-gradient(bottom, #000000 29%, #999999 65%); background-image: -moz-linear-gradient(bot

CSS:


为什么IE版本的gradient不起作用?我好像找不到哪里不对劲

尝试设置GradientType属性:

 background-image: linear-gradient(bottom, #000000 29%, #999999 65%);
    background-image: -o-linear-gradient(bottom, #000000 29%, #999999 65%);
    background-image: -moz-linear-gradient(bottom, #000000 29%, #999999 65%);
    background-image: -webkit-linear-gradient(bottom, #000000 29%, #999999 65%);
    background-image: -ms-linear-gradient(bottom, #000000 29%, #999999 65%);
    background-image: -webkit-gradient(linear,  left bottom,    left top,   color-stop(0.29, #000000),  color-stop(0.65, #999999));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#999999');
试一试

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#999999', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#999999',GradientType=0 ); /* IE6-9 *

background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(153,153,153,1) 100%); /* IE10+ */