title | short-title | slug | page-type | browser-compat |
---|---|---|---|---|
CSSPerspective: length property |
length |
Web/API/CSSPerspective/length |
web-api-instance-property |
api.CSSPerspective.length |
{{APIRef("CSS Typed OM")}}
The length
property of the
{{domxref("CSSPerspective")}} interface sets the distance from z=0.
It is used to apply a perspective transform to the element and its content. If the value is 0 or a negative number, no perspective transform is applied.
A {{domxref("CSSNumericValue")}}
To Do
{{Specifications}}
{{Compat}}