.mark.studio{
background: url(../images/studio_icon.png) no-repeat;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
height: 50px;
width: 50px;
z-index:103 !important;
}
.mark.studio:hover{
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
background: url(../images/studio_icon-hover.png) no-repeat;
z-index:103 !important;
}
有了这个悬停的css,图像从原始图像变形为悬停图像,产生了非常酷的效果,在Firefox和IE9中,我只是得到了一个悬停图像替换。我将 -webkit-transition 放在两个选择器中,但我很确定它只需要在 .mark.studio