Animating a Custom Hamburger Menu

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

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

  • @virgiliobodega7255
    @virgiliobodega7255 2 года назад +2

    Why dont u use class list toggle instead of add and remove? Its a lot cleaner and faster

    • @SelfTeachMe
      @SelfTeachMe  2 года назад +3

      That's a great point, I could have done that instead.
      For people visiting in the future, this would also work:
      element.onclick = () => {
      element.classList.toggle("x");
      };

  • @DesignfulDev
    @DesignfulDev 3 года назад +1

    This is SO COOL!!!!

  • @TheCoderCoder
    @TheCoderCoder 3 года назад +4

    So cool! Love seeing the whole process from design to building!

  • @JamesQQuick
    @JamesQQuick 3 года назад

    Wowwwwwww

  • @ticotraveller
    @ticotraveller Год назад

    Thank you, I really like your friendly videos! :-)
    I followed this along and learned quite a bit, still trying to wrap my head around these CSS properties, I'll read the blog post that you listed. Thanks again, fantastic work! 👏

  • @megajjks2
    @megajjks2 3 года назад +1

    Great, is very cool Thanks

  • @TheJackForge
    @TheJackForge 3 года назад +1

    Let's goooooo! Thanks for this Amy!

    • @SelfTeachMe
      @SelfTeachMe  3 года назад

      Awesome, Jack! Glad you liked it

  • @rust347
    @rust347 2 года назад +1

    wtf this is sick

  • @ugbabeowoicho6121
    @ugbabeowoicho6121 3 года назад +1

    thank you...

  • @mamtaagarwal1009
    @mamtaagarwal1009 3 года назад +2

    This is the best menu icon animation I have seen. This is going to be in my next project

  • @waelajam9627
    @waelajam9627 3 года назад +1

    this is cooool

  • @QueenRaae
    @QueenRaae 3 года назад +2

    Love the energy and editing!

  • @dhruvil_2662
    @dhruvil_2662 3 года назад +1

    This was super awesome
    Just found your channel out of nowhere, and now here I am, surfing through all your videos
    Much love ❤️❤️

    • @SelfTeachMe
      @SelfTeachMe  3 года назад

      Thank you! -- Glad you're enjoying them.

  • @arctic_shark
    @arctic_shark 9 месяцев назад

    your thumbnail it just looks viciously terrifying.

    • @SelfTeachMe
      @SelfTeachMe  8 месяцев назад

      😂 ... this is actually one of my favorite thumbnails.

  • @AlleyDev
    @AlleyDev 3 года назад +1

    This is a super cool effect!! Thank you for showing how to do this, I can’t wait to give it a go. This is the first video of yours I’ve watched so far, but I didn’t realise you could do this with svg’s!

  • @siriusjaeger2823
    @siriusjaeger2823 2 года назад

    what are the dimensions of canvas for making these icons?

    • @SelfTeachMe
      @SelfTeachMe  2 года назад

      I honestly can't remember the size in this video, but I usually use 32x32

  • @rabplaysguitar
    @rabplaysguitar 3 года назад +1

    I love this. As someone that’s trying to transition from graphic design to web design, this helps a TON.

    • @SelfTeachMe
      @SelfTeachMe  3 года назад

      Awesome! Glad to hear that! ... I'd like to create more videos on UI / UX. Is there anything specific you're looking for? or need help with?

    • @rabplaysguitar
      @rabplaysguitar 3 года назад

      @@SelfTeachMe nothing specific right now. I hope you continue to enjoy creating this great content! I’ve been viewing your previous content in hope that it helps me out. Subscribed :)

  • @Gbtx6
    @Gbtx6 Год назад

    I wish I had found your channel sooner Amy. Truly fantastic content with great energy

  • @УрошТомић-у4ф
    @УрошТомић-у4ф 3 года назад

    Does anybody else get this error "DataCloneError: The object could not be cloned." in the console in Firefox?

    • @SelfTeachMe
      @SelfTeachMe  3 года назад

      Sorry I'm a little late responding, do you still get this error? Were you able to figure it out?

    • @УрошТомић-у4ф
      @УрошТомић-у4ф 3 года назад

      Yes, I still get this error. and no, I haven't quite figured it out yet. However, I did find out that the SVG is causing the problem and that it has something to do with the "Structured Cloning Algorithm". Note: Although Firefox throws this error, the SVG is displayed correctly and the animation works fine.

  • @mirzairshad4063
    @mirzairshad4063 2 года назад

    Hi, can you use styled-components in you tutorials, that can be very helpful

    • @SelfTeachMe
      @SelfTeachMe  2 года назад +1

      Thanks for the feedback. I might use Styled Components in some of my videos, but for most demo projects, like these, Styled Components is overkill. Is there something in particular that you're struggling with using Styled Components? All the concepts should translate.

    • @mirzairshad4063
      @mirzairshad4063 2 года назад

      @@SelfTeachMe Struggling with nested style properties and some concepts. Thank you very much for getting back

  • @andrehall-rodrigues3814
    @andrehall-rodrigues3814 2 года назад

    Goated with the sauce.

    • @andrehall-rodrigues3814
      @andrehall-rodrigues3814 2 года назад

      Also, the first div tag is missing an i and the closing button tag is missing a /. The information shared on this video is still top notch. Just wanted to share in case anyone was confused, I think codepen automatically fixes these typos.

  • @artursradionovs9543
    @artursradionovs9543 2 года назад

    This is amazing

  • @paulharvey11
    @paulharvey11 2 года назад

    Love this - just did it myself and it worked a treat- thank you !!

    • @SelfTeachMe
      @SelfTeachMe  2 года назад

      Awesome! 🙌🏻

    • @paulharvey11
      @paulharvey11 2 года назад

      Would you be able to show how to implement this as a responsive working hamburger menu with a regular top navigation menu?

  • @TheYusuf10
    @TheYusuf10 3 года назад

    Cleanest explanations! Keep going pls!

    • @SelfTeachMe
      @SelfTeachMe  3 года назад +1

      Thank you!! … anything in particular you’d like to see more of?

    • @TheYusuf10
      @TheYusuf10 3 года назад +1

      @@SelfTeachMe Thank you for asking. Creating CSS layouts always hard for me. I mean maybe more CSS content :)

    • @SelfTeachMe
      @SelfTeachMe  3 года назад +1

      @@TheYusuf10 I can definitely do that!