perspective
perspective is a CSS property in the Transform category. Applies 2D and 3D transformations to elements. The syntax is perspective: none | <length>. A typical example: perspective: 800px; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 4+, Firefox 3.5+, Safari 3.1+, Edge 12+. A close relative is transform, which applies 2D and 3D transformations to elements. A close relative is transform-origin, which applies 2D and 3D transformations to elements. A close relative is transform-style, which applies 2D and 3D transformations to elements. More about this category: CSS transform properties for 2D and 3D transformations. Related Transform entries: transform, transform-origin, transform-style, perspective-origin, backface-visibility, rotate, scale, translate. This page is part of the free CSS Reference documentation covering 841+ properties, selectors, functions, and at-rules, each with syntax, values, examples, and browser support. You can look up any other entry from the search page or return to the CSS Reference homepage.