.item:hover {
zoom: 1;
filter: alpha(opacity=50);
opacity: 0.5;
-webkit-transition: opacity .15s ease-in-out;
-moz-transition: opacity .15s ease-in-out;
-ms-transition: opacity .15s ease-in-out;
-o-transition: opacity .15s ease-in-out;
transition: opacity .15s ease-in-out;
}
为什么这只会在我悬停时为不透明度设置动画,而当我用鼠标离开对象时却没有?
在这里演示:https ://jsfiddle.net/7uR8z/
</p>