CSS Property: perspective
[this page | pdf | back links]
The CSS (CSS3) perspective property indicates how far
a 3D element is notionally placed behind the screen. The property applies to
the child elements not the original element itself to which this property is
attached.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
length
|
Page breaking defined
automatically
|
|
none
|
(default value). Same
as 0, i.e. no perspective set
|
|
Default Value:
|
none
|
|
JavaScript syntax:
|
e.g. object.style.perspective="30px"
|
|
Inherited:
|
No
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties