CSS Animations are PAINFUL

Sdílet
Vložit
  • čas přidán 28. 07. 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
  • Věda a technologie

Komentáře • 26

  • @shreyash1
    @shreyash1 Před 22 dny +5

    you're the second css youtuber that I am going to see emerging from 0.

    • @dotsdv
      @dotsdv  Před 22 dny +2

      Glad to have you along for the journey!

  • @sakthikumaran8076
    @sakthikumaran8076 Před 22 dny +4

    Thanks for the CZcams recommendation to let me know about this guy!

    • @dotsdv
      @dotsdv  Před 22 dny +1

      Hope you enjoyed the video!

  • @indie_war
    @indie_war Před 22 dny +2

    nice one can't wait for other CSS video from you

    • @dotsdv
      @dotsdv  Před 21 dnem +1

      Thank you! I'm planning to have another one out next week!

  • @khalidyare7036
    @khalidyare7036 Před 22 dny +3

    I really wanna learn css animations from you bro. Im glad youtube suggested me your account

    • @dotsdv
      @dotsdv  Před 22 dny +1

      Thank for watching! Let me know if there's anything in particular you would like me to cover!

  • @holypizza1
    @holypizza1 Před 24 dny +3

    Straight to the point, thanks alot

    • @dotsdv
      @dotsdv  Před 24 dny +2

      Thank you! Hope the video was helpful!

  • @user-uc5kl1dw7i
    @user-uc5kl1dw7i Před 23 dny +2

    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)

    • @dotsdv
      @dotsdv  Před 23 dny +3

      Thanks for the feedback! I'll start doing that so it's easier to follow along

  • @ARBESProductions
    @ARBESProductions Před 22 dny +2

    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?

    • @dotsdv
      @dotsdv  Před 22 dny +3

      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

    • @ARBESProductions
      @ARBESProductions Před 22 dny +2

      @@dotsdv Awesome! Thanks for explaining it. You just earned a subscriber, sir.

    • @dotsdv
      @dotsdv  Před 22 dny +1

      Thanks for subscribing! It means a lot to me!

  • @xsdash
    @xsdash Před 22 dny +2

    Pro quality content. Keep it up.

  • @KHe3CaspianXI
    @KHe3CaspianXI Před 18 dny +1

    I use tailwind CSS, peace of mind without BEM.

    • @dotsdv
      @dotsdv  Před 17 dny +1

      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

  • @hanzo7616
    @hanzo7616 Před 15 dny +1

    I gave up on them. They are so bad. Will use GSAP until they improve which I'm sure they will. CSS keeps improving. So that's a plus.

    • @dotsdv
      @dotsdv  Před 11 dny +1

      Yeah I really need to learn GSAP, CSS animations can be pretty annoying to use sometimes

  • @NirajSalunke
    @NirajSalunke Před 22 dny +2

    Use GSAP , DO Nothingggg .

    • @dotsdv
      @dotsdv  Před 22 dny +1

      Haha yeah, I've worked on a few projects that've used GSAP but I still need to learn it myself

    • @NirajSalunke
      @NirajSalunke Před 22 dny +1

      @@dotsdv try using it( even I am rookie in it) it has massiv power and best performance!

    • @dotsdv
      @dotsdv  Před 22 dny

      For sure! I'll give it a try!