CSSPerspective

The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.

MDN Reference

Constructors

Link copied to clipboard
constructor(length: CSSPerspectiveValue)

Properties

Link copied to clipboard

The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.

Link copied to clipboard

The length property of the It is used to apply a perspective transform to the element and its content.

Functions

Link copied to clipboard

The toMatrix() method of the object.