CSS Typed Object Model API
The CSSPerspective interface of the CSS Typed Object Model API represents the transform-function/perspective value of the individual transform property in CSS.
Constructor
- CSSPerspective.CSSPerspective
- : Creates a new
CSSPerspectiveobject.
- : Creates a new
Instance properties
Also inherits properties from its parent interface, CSSTransformComponent.
- CSSPerspective.length
- : Returns or sets the distance from z=0.
Instance methods
Also inherits methods from its parent interface, CSSTransformComponent.
Examples
To do
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
