$("#page-circle").mouseover(function(){
$(this).find('span').animate({"opacity":0.4},{queue:false});
}).mouseout(function(){
$(this).find('span').animate({"opacity":0},{queue:false});
});
此问题仅适用于Chrome浏览器; span span overflow设置为hidden;
这是span css:
#page-circle span{
position:absolute;
height:100%;
width:100%;
bottom:0px;
display:block;
opacity:0;
color:#fff;
text-align:right;
padding:8px 10px;
background-image:url(../images/bg-overlay.png);
background-color:#000;
}
链接到jsfiddle: http://jsfiddle.net/T4mer/zjr9Y/