We use cookies to improve your experience. Learn more in our Privacy policy.
perspective
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 |
Syntax
perspective: 800px;
Values
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
perspective | chrome36 | edge12 | firefox16 | ie10 | opera23 | safari9 |