Length 11:23I've been challenged to solve a CSS riddle
About this video
Kevin Powell attempts to solve a CSS riddle shared by Amit Sheen, working through transitions, timing functions and rotation until he reaches a working solution. The video is for developers who want to see how a CSS animation problem is reasoned through.
What you’ll learn
- Diagnose why a CSS transition does not behave as expected
- Reverse-rotate an element to counter a parent's animation
- Decide when a CSS-only solution is worth pursuing over JavaScript










