perspective()

Term side of the Card
Topic: Transformations
Unit title: perspective()
Categories: Function
Explanation side of the Card

Explanation: The function used as a value for the `transform` property to apply a perspective transformation to an element. It creates a 3D effect by making elements appear as if they are viewed from a certain distance, giving a sense of depth to 2D elements.

Browser compatibility:
  • The chrome browser supports this feature starting from version 12
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 10
  • The safari browser supports this feature starting from version 4
Availability: