Animated Hamburger Menu Tutorial - CSS Effects

Animated Hamburger Menu Tutorial - CSS Effects

codeSTACKr

4 года назад

508,547 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Marcel Bruckmann
Marcel Bruckmann - 12.09.2023 23:13

If you want to have it with less code, use jquery:

$(".menu-btn").click(function(){
$(".menu-btn").toggleClass("open");
});

That's it. Br Marcel

Ответить
Y. Mba
Y. Mba - 02.08.2023 19:21

Very helpful Thanks !!

Ответить
Michele Staffiere
Michele Staffiere - 08.05.2023 06:28

doesnt work.

Ответить
Jesus Cova
Jesus Cova - 30.03.2023 00:22

thanks a lot!

Ответить
Brunobm
Brunobm - 20.02.2023 07:35

mine didn't work the part of the animation =\

Ответить
Edson Junior
Edson Junior - 29.01.2023 07:58

THANKS!

Ответить
Alan Williams
Alan Williams - 24.01.2023 22:13

Very good. Thank you.

Ответить
TADL
TADL - 24.12.2022 02:01

This was very to the point and easy to understand thanks

Ответить
Pokemon In My Life
Pokemon In My Life - 13.12.2022 15:25

tks you verymuch ^^

Ответить
Adam Hussien
Adam Hussien - 07.12.2022 17:57

Heyyy, what if I want to put links in the menu? How do I do it?

Ответить
Exile ¥
Exile ¥ - 05.12.2022 00:51

Nice tuttorial buddy, i am now collecting nice navbars for my coding experiences and i will use this in my projects, thank you for nice video with all the explanation

Ответить
Bjarni Einarsson
Bjarni Einarsson - 25.11.2022 21:51

Very good.. with code and alles!

Ответить
E-SpotgameLAOS2021
E-SpotgameLAOS2021 - 01.11.2022 10:23

แล้วถ้าเรายากให้มีแถบเมนูด้วยละครับ

Ответить
Uranium 234
Uranium 234 - 29.10.2022 16:07

Thanks bro

Ответить
Sebastian Molina
Sebastian Molina - 26.10.2022 16:16

nice fast video :)

Ответить
Kalimba_Lullabies
Kalimba_Lullabies - 25.10.2022 23:10

How do i make a droppen from This menu?

Ответить
Niels Lützhøft
Niels Lützhøft - 21.10.2022 20:48

Very cool tutorial, thanks a million 😁. How do you remove the middle line instead of animating it to the left when clicking?

Ответить
Fear
Fear - 05.10.2022 03:41

make a video showing how to add a dropdown menu with this to create a cool navigation icon.

Ответить
MERCURY RISING
MERCURY RISING - 07.09.2022 11:59

For me you got the point, no wasting time just pure content...GREAT JOB !!!!

Ответить
Elyrioon
Elyrioon - 06.09.2022 01:26

I just copied the whole code without any error and ut don't work help

Ответить
Richard
Richard - 04.09.2022 22:24

This is probably one of the best Tutorials I've ever seen. Thanks for your good Video!

Ответить
Panhboth Neak
Panhboth Neak - 02.09.2022 07:06

Thank you so much for this!
I would like to ask if it is okay if i use this menu design in my project? Thank you.

Ответить
Ferry ibnu
Ferry ibnu - 15.08.2022 17:57

Bruh your voice sound like ACEU the Apex Legends Streamer.

Ответить
Yoga with Carlos
Yoga with Carlos - 14.08.2022 19:28

Awesome. thanks. Instead of JS I used the <input type='checkbox'> with the <label> <span> tags to form the menu lines.

Ответить
abdu
abdu - 08.08.2022 10:19

amazing, to the point &
exact work. Thank you

Ответить
abah iduh
abah iduh - 05.08.2022 17:52

wow! this is brief and wonderful

Ответить
Sergiu Malancea
Sergiu Malancea - 17.07.2022 21:59

Very easy and simple for beginners, thanks man !

Ответить
Dillon Campbell
Dillon Campbell - 17.07.2022 06:51

Really loved this quick and right to the point video format! And if I needed to I could just pause or slow down the video

Ответить
Victor
Victor - 05.07.2022 05:32

Great video bro, helped me a lot!

Ответить
harshabc4
harshabc4 - 28.06.2022 01:08

what a banger

Ответить
TheBharat Kafle
TheBharat Kafle - 08.06.2022 10:14

I dont LIke this video

Ответить
George Chetrone
George Chetrone - 20.05.2022 07:58

Wonderful video, helps a lot thanks!

Ответить
Hager Gamal
Hager Gamal - 23.04.2022 05:09

Amazing man 🤩

Ответить
Diddyturner
Diddyturner - 20.04.2022 20:43

How do you put the links inside please

Ответить
Jatin Gaur
Jatin Gaur - 11.04.2022 06:57

nice and informative👌

Ответить
Glow0110
Glow0110 - 08.04.2022 09:25

LOVE to quick, straightforward, and impactful video brother!

Ответить
Ben Piro
Ben Piro - 22.03.2022 00:18

This was extremely helpful, thank you

Ответить
sayed mohammad azizi
sayed mohammad azizi - 14.03.2022 11:00

thank ' s

Ответить
sayed mohammad azizi
sayed mohammad azizi - 14.03.2022 11:00

thank ' s

Ответить
glaivx
glaivx - 04.03.2022 07:50

Does anyone know how do you make the spaces between the lines smaller? Thank you in advance

Ответить
Torstein Strand
Torstein Strand - 15.02.2022 13:55

REACT

Awesome tutorial, and nice and simple animation!

For those of you wanting to implement this in React, you can simply use state for the menu button being open or not opened, and right before the if statement checking if the boolean is true or false (menuOpen), you perform a null-check. This is because when you reference the DOM-element called menu-btn, the first time it will be null until the DOM has rendered.

This might be a very hacky solution, but it's the best one I could think of.

Ответить
Ohboy Studio
Ohboy Studio - 29.01.2022 17:14

Nice and straight forward. Love it!

Ответить
OrincyWhyteDesigns
OrincyWhyteDesigns - 25.01.2022 16:59

Awesome!!!! I hope there is a follow up video 🙂 connecting an actual menu

Ответить
Overcraftor
Overcraftor - 24.01.2022 18:19

Thanks

Ответить
Md. Asif Hasan
Md. Asif Hasan - 24.01.2022 09:06

The bars r turning to X sign, but how will I turn it back to bars??

Ответить
Nova
Nova - 04.01.2022 01:05

Hey question! What can I do when I get the error the keyword const is reserved?

Ответить
New Dimension
New Dimension - 02.01.2022 00:24

i thought he was making an actual ROTATING BURGER ROFL but that takes Dreamweaver no?

Ответить
Andrew Androsow
Andrew Androsow - 11.12.2021 13:05

Thanks a lot! The good video!

Ответить