CSS perspective property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerPartial support
EdgeFully supports
OperaFully supports
Description
CSS perspective property esatablishes a new stacking context and allows the 3-D transformation of children elements. Remember that it applies to the transform children elements and not the element itself.
In the demo, we apply 'perspective' property to the element. But its effect is visible on the children elements.
Syntax
perspective : none | length
Property values
Applicable to
It applies to transformable elements.