To activate 3D space, an element needs perspective. This can be applied in two ways. The first technique is with the transform property, with perspective() as a function: transform: perspective(400px); For example: .panel--red { /* perspective function in transform property */ transform: perspective(400px) rotateY(45deg); } Edit this demo on CodePen The second technique is with the perspective pro