這裏是非常有趣的情況。可能或濫用功能?溢出:隱藏的奇怪
當溢出:隱藏與位置:相對使用時,奇怪的事情開始發生。自己看!
http://cssdeck.com/labs/u1om11qq
HTML
<div class="carrier">
<div class="button"></div>
<div class="button"></div>
</div>
CSS
.carrier{
overflow:hidden;
width:200px;
height: 400px;
border-radius: 50px;
background:blue;
}
.button {
position:relative;
width: 200px;
height: 200px;
background-color:rgba(255,0,0,0.2);
-webkit-transition:all 0.2s ease;
-moz-transition:all 0.2s ease;
-ms-transition:all 0.2s ease;
-o-transition:all 0.2s ease;
transition:all 0.2s ease;
}
.button:hover{
background-color:rgba(255,0,0,1);
}
是這種情況(閃爍邊緣)的錯誤,還是我錯過了點?
(溢出:隱藏需要覆蓋的邊緣 - 它創建了一個奇怪的閃爍對鉻24.0.1312.57.m)
有什麼不對?我們會看到什麼?什麼'奇怪'的事情? – 2013-02-08 13:28:58
剛纔編輯的問題 – Mia 2013-02-08 13:29:39
搜索邊界半徑缺陷鉻 – 2013-02-08 13:37:26