1
$("#page-circle").mouseover(function(){
    $(this).find('span').animate({"opacity":0.4},{queue:false});
}).mouseout(function(){
    $(this).find('span').animate({"opacity":0},{queue:false});
});

这个问题只存在于 chrome 浏览器中;跨度父溢出设置为隐藏;

这是跨度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/

在此处输入图像描述

4

1 回答 1

0

你试过border-radius像这样在你的跨度上放一个吗?http://jsfiddle.net/zjr9Y/3/

于 2013-03-22T11:30:46.647 回答