此转换在桌面上可以正常工作,但在移动设备上,将“悬停”事件解释为移动设备上的图标,只是使图像消失而不是替换新图像。所有其他转换都有效。图像上的Webkit转换未在移动设备上显示
.mark.studio{
background: url(../images/studio_icon.png) no-repeat;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
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;
-transition: all .3s ease-in-out;
background: url(../images/studio_icon-hover.png) no-repeat;
}
你的意思是iOS的Safari浏览器?或Android上的Chrome /浏览器?或两者? – 2012-12-24 19:05:53
只在android –
上测试过,是''hover'上的'-transition',这里只是一个输入错误,或者是现场代码呢?也请确保文件存在并命名正确.. –