CSS scaleZ() Function

❮ Previous Functions Next ❯

Example

.example {
  transform: scaleZ(0.6);
}

Meaning

The scaleZ() css function defines a transformation that resizes an element along the z-axis.

Note: scaleZ(sz) is equivalent to scale3d(1, 1, sz).

This scaling transformation modifies the z-coordinate of each element point by a constant factor, except when the scale factor is 1, in which case the function is the identity transform.

The scaling is not isotropic, and the angles of the element are not conserved.

Version: CSS3




Standard Syntax

scaleZ(s)



Browser Support

The numbers in the table specify the first browser version that fully supports the property.




Status







Function Arguments

The following table describes the arguments of this function.

Argument Description
s Specifies the number representing the scaling factor to apply on the z-coordinate of each point of the element.



See also

❮ Previous Functions Next ❯