rotateX()
rotateX()
The rotateX()
CSS function defines a transformation that moves the element around the abscissa without deforming it. The amount of movement is defined by the specified angle; if positive, the movement will be clockwise, if negative, it will be counter-clockwise.
The axis of rotation passes by the origin, defined by transform-origin
CSS property.
rotateX(a)
is a shorthand for rotate3D(1, 0, 0, a)
.
In opposition to rotations in the plane, the composition of 3D rot