Gets or sets a value that represents the perspective from which all child elements of the object are viewed.
This property is read/write.
perspective: none |
A value that represents the perspective, in pixels, from which to view each child element.
Default. No perspective declared.
A floating-point number, followed by a relative units designator ("px"), that indicates the depth of the perspective. For more information about supported length units, see CSS Values and Units.
|Applies To||block-level and inline-level elements|
- CSS Transforms Module, Level 3, Section 10
This property does not affect how the object is rendered.
This property is only applied to child elements that have a transform specified.
The object is the projection plane for the child elements.
This property specifies that each child is rendered relative to the specified perspective, whereas the perspective function of the transform property specifies that each child is rendered from the same perspective.
- How to bring your webpage to life with CSS transforms, transitions, and animations
Build date: 11/16/2013