This property allows you to define the relative position of the origin of the transformation grid along the z-axis.
- Initial value
- Applies to
- transformable elements
- Computed value
- The relative position is calculated from screen depth. As the value increases, the origin is more distant from the user; as the value decreases, the origin moves out toward or behind the user.
- A floating-point number, followed by a unit of measurement.
Units of measurement may be absolute (
pc) or relative (
px). For more information about the supported length units, see CSS Values and Units.
- CSS Transforms Module, Level 3, Section 8