The perspective CSS property determines the distance between the z=0 plane and the user in order to give a 3D-positioned element some perspective.

Initial value none
Applies to transformable elements


perspective: 800px;


Indicates that no perspective transform is to be applied.
A giving the distance from the user to the z=0 plane. It is used to apply a perspective transform to the element and its content. If the value is 0 or a negative number, no perspective transform is applied.

Browser support


We use cookies to improve your experience. Learn more in our Privacy policy.