transform-function
Last updated
Was this helpful?
Last updated
Was this helpful?
Sets the distance between the user and the z=0 plane.
The rotate()
function defines a transformation that rotates an element around a fixed point on the 2D plane, without deforming it. Its result is a data type.
The fixed point that the element rotates around — mentioned above — is also known as the transform origin. This defaults to the center of the element, but you can set your own custom transform origin using the property.
Rotates an element around a fixed point on the 2D plane.Rotates an element around a fixed axis in 3D space.Rotates an element around the horizontal axis.Rotates an element around the vertical axis.Rotates an element around the z-axis.
Scales an element up or down on the 2D plane.Scales an element up or down in 3D space.Scales an element up or down horizontally.Scales an element up or down vertically.Scales an element up or down along the z-axis.
Skews an element on the 2D plane.Skews an element in the horizontal direction.Skews an element in the vertical direction.
Translates an element on the 2D plane.
The translate()
function repositions an element in the horizontal and/or vertical directions. Its result is a data type.
Translates an element in 3D space.Translates an element horizontally.Translates an element vertically.Translates an element along the z-axis.