CSS perspective property
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.
perspective : none | length
In this case, no perspective is applied.
It translates the box by 50px along Y-axis.
It applies to transformable elements.
Was this article helpful?