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
  • НаукаНаука

Комментарии • 24

  • @shreyash1
    @shreyash1 5 дней назад +4

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

    • @dotsdv
      @dotsdv  5 дней назад +1

      Glad to have you along for the journey!

  • @sakthikumaran8076
    @sakthikumaran8076 5 дней назад +4

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

    • @dotsdv
      @dotsdv  5 дней назад +1

      Hope you enjoyed the video!

  • @khalidyare7036
    @khalidyare7036 5 дней назад +3

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

    • @dotsdv
      @dotsdv  5 дней назад +1

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

  • @indie_war
    @indie_war 5 дней назад +2

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

    • @dotsdv
      @dotsdv  4 дня назад +1

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

  • @holypizza1
    @holypizza1 7 дней назад +3

    Straight to the point, thanks alot

    • @dotsdv
      @dotsdv  7 дней назад +1

      Thank you! Hope the video was helpful!

  • @xsdash
    @xsdash 5 дней назад +2

    Pro quality content. Keep it up.

    • @dotsdv
      @dotsdv  5 дней назад +3

      Thank you!

  • @user-uc5kl1dw7i
    @user-uc5kl1dw7i 6 дней назад +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  6 дней назад +3

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

  • @ARBESProductions
    @ARBESProductions 5 дней назад +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  5 дней назад +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 5 дней назад +2

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

    • @dotsdv
      @dotsdv  5 дней назад +1

      Thanks for subscribing! It means a lot to me!

  • @KHe3CaspianXI
    @KHe3CaspianXI 2 дня назад +1

    I use tailwind CSS, peace of mind without BEM.

    • @dotsdv
      @dotsdv  20 часов назад

      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

  • @NirajSalunke
    @NirajSalunke 5 дней назад +2

    Use GSAP , DO Nothingggg .

    • @dotsdv
      @dotsdv  5 дней назад +1

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

    • @NirajSalunke
      @NirajSalunke 5 дней назад +1

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

    • @dotsdv
      @dotsdv  5 дней назад

      For sure! I'll give it a try!