Coding task · HTML and CSS course · Module 6: CSS Animations

Edge Rotation Animation

Animate the opening of a pharaoh's sarcophagus lid using rotate and transform-origin.

Task

Create a sarcophagus opening animation where the lid rotates around its edge using rotateX in 3D with the appropriate transform-origin.