Working with CSS3 property transform: scale, I found interesting issue. I wanted to make a little zoom effect for pictures. But when I used for the parent div <
transform: scale
sorry for my poor English.
if the page isn't have positioned element, there is no need to set container element and child element z-index attribute both.
just adding z-index: 0(or other) attribute to container element.
.container { border-radius: .14rem; overflow: hidden; z-index: 0; } .child { }