10 CSS animation tips and tricks

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: ✅ More on prefers-reduced-motion: ✅ More information on @property on the MDN: @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 💬 Keep up to date with everything I’m up to ✉ Come hang out with me live every Monday on Twitch! 📺 --- Help support my channel 👨‍🎓 Get a course: 👕 Buy a shirt: 💖 Support me on Patreon: --- My editor: VS Code - --- 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: Codepen: Github: --- And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!
Back to Top