Experimental
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Draft
This page is not complete.
The CSSPerspective()
constructor creates
a new CSSPerspective
object representing the perspective() value of
the individual transform
property in CSS.
Syntax
var CSSPerspective = new CSSPerspective(length);
Parameters
length
- A value for the distance from z=0 of the
CSSPerspective
object to be constructed. This must be a<length>
.
Exceptions
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