-webkit-transform: rotateY(45deg)
-webkit-transform: rotateX(45deg)

Current perspective:

Perspective

Drag the slider to change the -webkit-perspective value on the blue box. You can also hover over the blue box to change the perspective-origin to be under the mouse.