这位网友你好,过滤器效果应该是css3新加的属性动画效果,你最好是用chrome浏览器查看,如果再看不到效果,应该是你代码的问题。下面是个例子,你可以复制查看一下效果。
<!doctype html><html>
<head>
<meta charset="utf-8">
<title>demo</title>
<script src="js/jquery-1.10.2.min.js"></script>
<style type="text/css">
*{
padding:0
margin:30px
}
.me{
width:60px
height:60px
background-color:red
}
#div {
-webkit-transition: all 3s linear 0s
-moz-transition: all 3s linear 0s
-ms-transition: all 3s linear 0s
-o-transition: all 3s linear 0s
transition: all 3s linear 0s
}
#div:hover { background-color: #93F }
</style>
</head>
<body>
<div class="me" id="div"></div>
</body>
</html>