10 CSS animation tips and tricks
Channel: Kevin Powell
Date: 2023-04-06

CSS transitions and animations can be a lot of fun, and there are so many neat tips and tricks you can do with them!

🔗 Links 
✅ The CSS challenge video: https://youtu.be/gE5PnHcv3RI
✅ More on prefers-reduced-motion: https://youtu.be/zT9Ftmw0-uc
✅ More information on @property on the MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/@property

⌚ Timestamps
00:00 - Introduction
00:43 - Different timing functions for different states
02:23 - The order of keyframe animations doesn’t matter
04:00 - Declaring multiple keyframes with one declaration
05:05 - Omiting 0% and 100%
06:10 - Animating transform and the individual transform properties
07:52 - Using negative animation delays
10:08 - prefers-reduced-motion
12:44 - Using the same animation multiple times within one declaration
15:05 - Using @property to animate custom properties

#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

---

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