CSS 47 ๐ป transform perspective, rotate and rotate3d
a - transform perspective
perspective gives the appearance that elements are being viewed from a particular distance.
This creates a 3D effect
value: length โ defines the depth of the field at which the viewer is located
smaller length values create a greater perspective effect
perspective: 600px; โ sets the distance from the viewer to 600px
transform-style: preserve-3d; โ ensures the faces are treated as 3D objects
faces are positioned absolutely within the cube container
b - transform rotate and rotate3d
rotate rotates an element around a fixed point
value: angle โ specifies the angle of rotation
Positive values โ clockwise rotation, Negative values โ counterclockwise rotation
transform: rotate(45deg); โ Rotates the image 45 degrees clockwise
rotate3d allows you to apply a 3D rotation
It take 4 values, x, y, z define the direction of the rotation
angle defines the degree of the rotation around the specified axis
transform: rotate3d(1, 1, 1, 90deg); โ rotates along a diagonal line from one corner to the opposite corner
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!