Note: This feature is available in Web Workers.
The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.
CSSPerspective()Creates a new CSSPerspective object.
Also inherits properties from its parent interface, CSSTransformComponent.
lengthReturns or sets the distance from z=0.
Also inherits methods from its parent interface, CSSTransformComponent.
To do