When content of block with overflow: hidden;
and border-radius
translated, its corners aren't hidding. Is there any solution to fix this?
HTML
<div class="scroller">
<div class="scroller-content"></div>
</div>
CSS
.scroller{
width: 300px;
height: 500px;
border: 3px solid red;
border-radius: 30px;
overflow: hidden;
}
.scroller-content{
width: 300px;
height: 300px;
background: green;
-webkit-transform: translate3d(0, -8px, 0);
}