2D and 3D Transforms
transform moves, rotates, scales and skews. transform-origin sets the pivot. perspective and rotateY add depth.
Example
<style>
.t { display: inline-block; padding: 10px; background: #0f766e; transform: rotate(8deg) scale(1.1); transform-origin: left top }
</style>
<div class="t">Rotated and scaled</div>Exercise
Rotate.
transform: (10deg);
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.