Create a fun quick text flip effect @KevinPowell
Create a fun quick text flip effect  @KevinPowell
Uploaded March 2025 | Updated December 2026, 3 hours ago
I saw a fun quick flip animation in the Motion examples page, and wanted to see if I could recreate it without duplicating any elements, and I ended up with three solutions. The first two have some flaws, but got there in the end!

πŸ”— Links
βœ… The Motion example: https://bsky.app/profile/citizenofnowhe.re/post/3lheakt2msc2d
βœ… My first attempt: codepen.io/kevinpowell/pen/LEYPMMw/72dc580d73bb785e19ea12adb462ae70
βœ… My second attempt: codepen.io/kevinpowell/pen/LEYPMoP/5a3a3640229cd9d49d01ab7b9e34c1dc
βœ… My final solution: codepen.io/kevinpowell/pen/ZYzNjbX
βœ… Easing Wizard: easingwizard.com

πŸ‘‰ I’ve got free and premium courses: kevinpowell.co/courses

⌚ Timestamps
00:00 - Introduction
01:05 - the HTML
01:58 - My first attempt with keyframe animations
03:30 - You can’t animate or transition inline elements
04:05 - My second attempt using box-shadow
07:39 - My final solution using translate and transform
12:18 - Updating the final solution to make it easier to modify

#css

--

Come hang out with other dev's in my Discord Community
πŸ’¬ discord.gg/nTYCvrK

Keep up to date with everything I'm up to
βœ‰ kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
πŸ“Ί twitch.tv/kevinpowellcss

---

Help support my channel
πŸ‘¨β€πŸŽ“ Get a course: kevinpowell.co/courses
πŸ‘• Buy a shirt: teespring.com/stores/making-the-internet-awesome
πŸ“½οΈ Join as a channel member: youtube.com/@KevinPowell/join
πŸ’– Support me on Patreon: patreon.com/kevinpowell or through YT memberships: Join this channel to get access to perks:
youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join

---

My editor: VS Code - 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.

Bluesky: https://bsky.app/profile/kevinpowell.co
Codepen: codepen.io/kevinpowell
Github: github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!
Create a fun quick text flip effectI finally used GSAP... and I get the hype nowSimplifying CSS animationsHow to set max-columns using auto-fit or auto-fillThree CSS patterns I use in every projectMost image resets are missing this declarationStop fighting with CSS, forever2 common CSS layout misconceptionsEasier Site-Wide Theming with Style QueriesThe heading selector Ive been waiting so long for is finally here! (sort of)They said theyd crush meThe future of CSS looks very different
Kevin Powell |

Create a fun quick text flip effect

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER