CSSPerspective

Draft

This page is not complete.

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.  It inherits properties and methods from its parent CSSTransformValue

Constructor

CSSPerspective.CSSPerspective()
Creates a new CSSPerspective object.

Properties

length
Returns or sets the distance from z=0.

Examples

To do

Specifications

Specification Status Comment
CSS Typed OM Level 1
The definition of 'CSSPerspective' in that specification.
Working Draft Initial definition.

Browser compatibility

BCD tables only load in the browser