CSS 52 ๐ป transform translate and translate3d
a - transform translate
transform translate is used to move an element along the X and Y axes.
The transformation is defined by a two-dimensional vector
values(x,y): percentage and length values.
You can also mix the length and percentage values
transform: translate(150px); โ moves the box 150px on X-axis
transform: translate(50px, 50px); โ moves the box 50px on X and Y axes
b - transform translate3d, translateX | Y | Z
transform translate3d allows you to apply translations along X, Y and Z axis.
The transformation is defined by a three-dimensional vector
It is useful for creating 3D effects
values(x, y, z): percentage and length values.
translateX โ moves an element along X axis
translateY โ moves an element along Y axis
translateZ โ moves an element along Z axis
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!