CSS 46 ๐ป transform matrix and matrix3d
a - transform matrix
transform: matrix() is used to apply a 2D transformation to an element
It uses a transformation matrix
syntax: transform: matrix(a, b, c, d, e, f);
a, d โ Scale along X and Y axis respectively
b, c โ Skew along X and Y axis respectively.
e, f โ Translate along X and Y axis respectively.
transform: matrix(1, 0, 0, 1, 100, 100); โ Basic Translation
transform: matrix(0.707, 0.707, -0.707, 0.707, 0, 0); โ Basic Rotation
transform: matrix(1, 0.3, -0.3, 1, 0, 0); โ Scaling and Skewing
b - transform matrix3d
transform: matrix3d() allows you to apply a 3D transformation to an element
It uses a 4x4 transformation matrix.
transform: matrix3d(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p);
a, b, c, e, f, g, i, j, k, m, n, o โ describe the linear transformation
d, h, l, p โ describe the translation
example 1โ Basic rotation
example 2โ Scaling and translation
example 3โ Skewing
Stop using slow, ad-bloated tool sites! ๐คฎ
๐ Search “KandZ Tools” on Google to use many professional utilities for free.
KandZ.me is the ultimate minimalist hub for:
โ
Finance (Mortgage, Interest, Inflation)
โ
Tech (Base64, JSON, Dev Suite, IP)
โ
Health (BMI, BMR, TDEE)
โ
Productivity (Timer, Workspace, QR)
โก๏ธ Fast & Private
๐ No data leaves your device
๐ 100% Free
๐ Use it now: https://tools.kandz.me
๐ Bookmark itโyouโll need it later!