Css 线性渐变在internet explorer 9中不起作用,而过滤器:progid:不起作用

Css 线性渐变在internet explorer 9中不起作用,而过滤器:progid:不起作用,css,Css,这已经被问了好几次了,但是他们已经有几年的历史了,我想知道是否有更好的方法来解决这个问题。以下css: .defaultButton { background: #90c8eb; background-image: -webkit-linear-gradient(top, #90c8eb, #0b85d1); background-image: -moz-linear-gradient(top, #90c8eb, #0b85d1); background-image: -ms-l

这已经被问了好几次了,但是他们已经有几年的历史了,我想知道是否有更好的方法来解决这个问题。以下css:

.defaultButton {
  background: #90c8eb;
  background-image: -webkit-linear-gradient(top, #90c8eb, #0b85d1);
  background-image: -moz-linear-gradient(top, #90c8eb, #0b85d1);
  background-image: -ms-linear-gradient(top, #90c8eb, #0b85d1);
  background-image: -o-linear-gradient(top, #90c8eb, #0b85d1);
  background-image: linear-gradient(to bottom, #90c8eb, #0b85d1);
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  font-family: Arial;
  color: #ffffff;
  font-size: 0.800em;
  font-weight: none;
  padding: 7px 14px 7px 16px;
  border: solid #6f92a8 1px;

}
linear gradient
在Chrome、Firefox和Safari中运行良好,但在IE 9中不起作用。我发现了一些css黑客网站,但它们不起作用。有人提到:

background-image: -webkit-linear-gradient(top, #90c8eb/9, #0b85d1/9);
添加
/9
无效,
\0/
。不确定我是否用错了,但到目前为止,我没有成功地使其正常工作。

您可以尝试:

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#90c8eb', endColorstr='#0b85d1', GradientType=0);

可能的重复如果你检查重复链接,你会发现如何使用SVGI使它工作,只是做了,它没有工作。。。谢谢你的努力。