Control the 3D perspective depth of child elements.
.container { perspective: 500px; } .element { transform: rotateY(40deg); }