CSS Animations are PAINFUL
HTML-код
- Опубликовано: 11 июл 2024
- Check out the CodePen: codepen.io/dotSDV/full/oNRRpBg
Figma: www.figma.com/community/file/...
Check out my other socials:
- Tiktok: / dotsdv
- Twitter: / dotsdv
- Ko-Fi: ko-fi.com/dotsdv
00:00 Intro
00:12 The Static Element
00:56 The Hover Animation
01:48 The Click Animation Наука
you're the second css youtuber that I am going to see emerging from 0.
Glad to have you along for the journey!
Thanks for the RUclips recommendation to let me know about this guy!
Hope you enjoyed the video!
I really wanna learn css animations from you bro. Im glad youtube suggested me your account
Thank for watching! Let me know if there's anything in particular you would like me to cover!
nice one can't wait for other CSS video from you
Thank you! I'm planning to have another one out next week!
Straight to the point, thanks alot
Thank you! Hope the video was helpful!
Pro quality content. Keep it up.
Thank you!
I'm new at this but i got almost every step. Could you consider highlightning or underlining the properties that are making the changes as you talk about them? (i'm not an english speaker, so that'd help a lot)
Thanks for the feedback! I'll start doing that so it's easier to follow along
Really cool break down of the process and nice results!
Any reason why'd you choose JS event for hover instead of CSS ::hover property?
Thank you and great question! :hover would work as well, but since I used @keyframes the animation would stop abruptly when it leaves the hover state. If it was a simpler animation done using the transition property, then it would stop smoothly since it's just transitioning between property changes. Using the JS event, allows me to keep it in the hover state until the animation ends, which results in a smoother animation
@@dotsdv Awesome! Thanks for explaining it. You just earned a subscriber, sir.
Thanks for subscribing! It means a lot to me!
I use tailwind CSS, peace of mind without BEM.
Tailwind is great! I personally don't love using it because having too many classes can be confusing to me at times. I prefer using BEM, it keeps my HTML clean and I usually style with SCSS so it makes writing the styles easier and neater
Use GSAP , DO Nothingggg .
Haha yeah, I've worked on a few projects that've used GSAP but I still need to learn it myself
@@dotsdv try using it( even I am rookie in it) it has massiv power and best performance!
For sure! I'll give it a try!