Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 11: How to use CSS transitions, transforms, animations, and filters!
Instruction
Combining Transforms
You can combine multiple transforms in a single transform
property.
.combined:hover {
transform: rotate(45deg) scale(1.2) translateX(30px);
}
This example rotates the element by 45 degrees, scales it by 20%, and moves it 30px to the right when hovered.
Setting the Transform Origin
By default, transformations originate from the elementβs center. Use `transfor...