我一直在试图从IE浏览器的jQuery调用过滤器的CSS方法,但我不能这样做?如何调用IE浏览器的CSS渐变属性 - >从Jquery过滤
我使用什么?
$('.gtob').mouseover(function(){
$(this).css("background-image","-moz-linear-gradient(100% 100% 90deg, #373737, #000000)");
$(this).css("background-image","-webkit-gradient(linear, 0% 0%, 0% 100%, from(#373737), to(#000000))");
$(this).css("filter","progid:DXImageTransform.Microsoft.gradient(startColorstr='#373737', endColorstr='#000000',GradientType=0)");
});
前两行的伟大工程Firefox,Safari和Chrome,但IE的声明没有给出回应:(
所以,任何人都知道如何做到这一点
,P:?!S I试图-MS-过滤器没有反应
是否CSS工作:悬停{过滤:等等...}' – 2010-12-10 22:24:11
@Jossiah没有,人it's doesn't与悬停?但在CSS中过滤没有悬停的作品。 – 2010-12-11 09:58:58