Is there a way to keep the corners of a block hidden when it has both overflow set to hidden and border radius applied while being translated?
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);
}