I’ve been challenged to solve a CSS riddle



If you’d like, you can try your own hand at it before watching the video: https://codepen.io/kevinpowell/pen/BaOOoWp

My good friend Amit Sheen shared a CSS riddle with me, and I thought it’d be fun to record myself trying to solve it! It turns out it was a lot harder than I first anticipated.

🔗 Links
✅ The riddle for you to try: https://codepen.io/kevinpowell/pen/BaOOoWp
✅ Amit’s Twitter: https://twitter.com/amit_sheen?lang=en
✅ Amit’s Codepens: https://codepen.io/amit_sheen

⌚ Timestamps
00:00 – Introduction
02:16 – Trying to change the timing function
02:50 – Trying the same animation multiple times
06:00 – This is hard…
07:15 – Can you transition the play state?
08:30 – If only we had JS
09:00 – Starting over
10:35 – Reverse rotating the body
15:15 – Why it works
16:48 – Reverse rotating the element itself!

See also  Detective Riddles Challenge: Further You Get, the Smarter You Are

#css

Come hang out with other dev’s in my Discord Community
💬 https://discord.gg/nTYCvrK

Keep up to date with everything I’m up to
✉ https://www.kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
📺 https://www.twitch.tv/kevinpowellcss

Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome
💖 Support me on Patreon: https://www.patreon.com/kevinpowell

My editor: VS Code – https://code.visualstudio.com/

I’m on some other places on the internet too!

If you’d like a behind the scenes and previews of what’s coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

See also  If You Solve 10% of These Riddles, You Are Better Than Sherlock

And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!

Official Link: Click Here

Leave a Comment