NEW POSTS
latest

Matrix3D() CSS Function of the Transform Property

Matrix3D() CSS
-

Video Tutoral at https://youtu.be/kR4_IWzL168

The matrix3d() CSS function of the transform property defines a 3D transformation as a 4 x 4 homogeneous matrix. It contains 16 parameters like scaleX, scaleY, scaleZ, shearZX, perspectiveX, translateX, and so on.

►The scaleX will scale the element toward the X direction. In other words, it represents the scaleX() which is also used in the matrix() CSS function.

►The ShearYX shears an element by moving the element toward the Y direction and expanding toward the X direction. In other words, it represents the skewY() which is also used in the matrix() CSS function.

►The shearZX parameter shears an element by moving the element toward the Z direction and expanding toward the X direction.

►Perspective X. It supports the negative value.

►The shearXY parameter shears an element by moving the element toward the X direction and expanding toward the Y direction. In other words, it represents the skewX() which is also used in the matrix() CSS function.

►The ScaleY scales the element toward the Y direction. In other words, it represents the scaleY() which is also used in the matrix() CSS function.

►The shearZY parameter shears an element by moving the element toward the Z direction and expanding toward the Y direction.

►Perspective Y. It supports the negative values.

►The shearXZ parameter shears an element by moving the element toward the X direction and expanding toward the Z direction.

►The shearYZ parameter shears an element by moving the element toward the Y direction and expanding toward the Z direction.

►The ScaleZ scales toward the Z direction.

►Perspective Z. It supports the negative values.

►Translate X Y and Z. The translations of X and Y are also being used in the matrix() CSS function.

►PerspectiveScale. It doesn't support the negative values.

Use the code below to learn more.

« PREV
NEXT »

No comments

If you have any doubt, please let me know.

US Flag
play button