Zoom
Zoom recording - starts at 00:48Links
Items can be rotated, skewed, scaled using CSS.
transform: rotate()
transform: scale()
transform: skew()
transform: translate()
MDN states "Then, the translateZ() function moves the element 200 pixels "outward" from the screen, toward the user. This has the effect of making the element appear larger when viewed on a 2D display, or closer when viewed using a VR headset or other 3D display device."
text-transform:
Hover to make me uppercase.text-transform: uppercase;
HOVER TO MAKE ME LOWERCASE.text-transform: lowercase;
Hover to make me capitalized.text-transform: capitalize;
Perspective
To make a 3d item, the use of perspective
is needed. Below are examples of how to use each.
Making a Cube with Transforms
The code for the cube is from 3dtransforms.desandro.com. Some styling and rotation was done by student.
front
back
right
left
top
bottom