我有这张图片,当我将它悬停在底部时,它会在div的底部显示一些内容,但奇怪的灰色边框会显示出来。这发生在Chrome和IE中,Firefox显示完美。任何想法为什么发生这种情况?悬停的Chrome边框半径错误
悬停
<div class="video_wrap" id="1" yt_id="-NschES-8e0" video_name="onajr ">
<div class="img_wrap">
<img src="http://img.youtube.com/vi/-NschES-8e0/hqdefault.jpg"></img>
</div>
<div class="title">o'najr</div>
</div>
.video_wrap {
width: 240px;
height: 240px;
display: inline-block;
border-radius: 120px;
overflow: hidden;
background: #fff;
margin: 5px 10px;
position: relative;
}
.img_wrap {
width: 240px;
height: 240px;
}
.title:hover {
opacity: 1;
}
.title {
position: relative;
top: -50px;
left: 0px;
background: #fff;
height: 50px;
opacity: 0;
color: rgba(248, 0, 140, 0.99);
font-size: 12px;
text-align: center;
line-height: 50px;
transition: all .5s ease-in;
overflow: hidden;
cursor: default;
}
.img_wrap img {
transition: all .5s ease-in;
height: 100%;
cursor: pointer;
}
小提琴:http://jsfiddle.net/a12y1ork/2/
我认为这是浏览器的渲染引擎的错误。与antialiasing相关的东西.. – Cheery 2014-10-29 22:51:38