Menu Samaritan's Purse

PERSPECTIVE

The perspective property specifies the perspective of the element.

SYNTAX

CSS

perspective: value;

JS

object.style.perspective = "value";

VALUES

<'perspective'> = none | <length [0,∞]>
none

No perspective transform is applied.

<length>

Specifies the length using a number followed by a unit of measurement.

INITIAL

none

EXAMPLES

LENGTH

NONE

JS

INTERNAL

backface-visibility

perspective-origin

rotate

scale

transform

transform-box

transform-origin

transform-style

translate

EXTERNAL

World Wide Web Consortium (W3C)