Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 609 Bytes

File metadata and controls

31 lines (20 loc) · 609 Bytes
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.

Value

A {{domxref("CSSNumericValue")}}

Examples

To Do

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}