Create a Responsive Hamburger Menu using only HTML and CSS | Responsive Navigation Menu

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2021
  • Hi Guys and welcome back, in today's video I’m going to show you how to create an awesome hamburger menu in HTML and CSS. To make this hamburger menu I'm going to use
    a simple pure CSS trick which you probably know and which based on checkbox input .
    The idea here is very clear when ever this input is checked the hamburger menu it should disappear and when it 's not checked it should appear. To understand this very well watch the video until the end . And if you enjoyed the video don't forget to subscribe and turn on your notifications! , Like and Comment .
    𝗦𝘂𝗯𝘀𝗰𝗿𝗶𝗯𝗲 🔔: / @deltatycode
    𝗣𝗮𝘆𝗽𝗮𝗹 𝗗𝗼𝗻𝗮𝘁𝗶𝗼𝗻 💰 : www.paypal.me/mourouh
    𝗧𝗲𝘅𝘁 𝗘𝗱𝗶𝘁𝗼𝗿 {} : code.visualstudio.com/?wt.mc_...
    𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲 : github.com/Deltaty-Code/Hambu...
    𝗩𝗶𝗱𝗲𝗼𝘀 🎬 :
    Create a Typewriter Effect Animation Using Only CSS & HTML | CSS Text Typing Animation
    • Create a Typewriter Ef...
    Create an Awesome Navigation Bar Using Only HTML & CSS | CSS Navbar
    • Create an Awesome Navi...
    How To Create a Profile Card Using HTML and CSS
    • How To Create a Profil...
    Responsive Animated Login Form Using Only HTML & CSS
    • Responsive Animated Lo...
    How To Create Rounded and Circular Images With CSS
    • How To Create Rounded ...
    Pure CSS Image Slider Using Only HTML & CSS
    • Pure CSS Image Slider ...
    Responsive Product Card Using HTML , CSS and Javascript
    • Responsive Product Car...
    How To Create Linkedin Loader Using HTML and CSS
    • How To Create Linkedin...
    How To Create Transparent Login Form Using HTML and CSS
    • How To Create Transpar...
    How To Add Loading Animation To Website Using HTML AND CSS | CSS Loading Page Animation
    • How To Add Loading Ani...
    𝗙𝗼𝗹𝗹𝗼𝘄 𝗺𝗲 :
    𝗙𝗮𝗰𝗲𝗯𝗼𝗼𝗸 : / . .
    𝗜𝗻𝘀𝘁𝗮𝗴𝗿𝗮𝗺 : / mouhamedmou. .
    𝘁𝘄𝗶𝘁𝘁𝗲𝗿 : / mmourouh
    𝗕𝗲𝗵𝗮𝗻𝗰𝗲 : www.behance.net/seemore1
    𝗚𝗜𝗧𝗛𝗨𝗕 : github.com/m-mourouh
    𝗗𝗘𝗩.𝗧𝗢 : dev.to/deltatycode
    𝗗𝗿𝗶𝗯𝗯𝗯𝗹𝗲 : dribbble.com/MOHAMED28
    𝗟𝗶𝗻𝗸𝗲𝗱𝗶𝗻 : / mohamed-m. .
    🎵 Music :
    Way Home by Tokyo Music Walker / user-356546060
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/tokyo-music-walker-way...
    Music promoted by Audio Library • Way Home - Tokyo Music...
    Fragments by Nomyn / nomyn
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/l-fragments
    Music promoted by Audio Library • Fragments - Nomyn (No ...
    Lights by Sappheiros / sappheirosmusic
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/LightsSappheiros
    Music promoted by Audio Library • Lights - Sappheiros (N...

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

  • @Chuppe_g
    @Chuppe_g 9 месяцев назад +2

    This is one of the best videos I've watched so far bro. it's a very good one. Keep making stuff more and more greater and better. Kudos 🙌

  • @AntLovesPlants
    @AntLovesPlants Год назад +2

    Great video! Thanks for providing source code I have styled it to my liking and it works perfectly for my website!

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

    OMG, tnx my friend, definitely a subscription from a Russian speaker :)

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

    Great Job Just what i needed

  • @narcos1024
    @narcos1024 Год назад +1

    Was looking for a basic solution and this is perfect. Very clean. Thanks. 😎

  • @IndraNeijs
    @IndraNeijs 2 месяца назад +2

    The hamburger icon and the cross are not showing up. Anyone else has the same problem or knows how to fix it? Besides that, great tutorial and awesome nav bar!🤩

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

    A quick responsive would be amazing, can you do a quick tutorial on how you could link all the pages to the nav bar and burger menu

  • @helioerfan
    @helioerfan 2 месяца назад

    Thanks for your useful video
    that's awesome
    😉

  • @parsaliundilashvili8091
    @parsaliundilashvili8091 Год назад +1

    Thanks for the great tutorial, I have a question: can you also make a tutorial on how to make a movie series slider, an animation like a burger menu... you know what I mean? ^_^

  • @user-zk8oi2sd6p
    @user-zk8oi2sd6p 4 месяца назад

    Thank You Sir, It's realy helpful for me.❤❤❤

  • @antonuis2547
    @antonuis2547 2 месяца назад

    thanks dude very helpful :)

  • @najafhabibov
    @najafhabibov 3 месяца назад

    Thank you so much!

  • @GolfinWithMav
    @GolfinWithMav 2 месяца назад

    I must be missing something, when i shrink it the nav menu items are there but at the top and not centered when making a smaller screen

  • @tonytony-fc6gq
    @tonytony-fc6gq 4 месяца назад

    THANK UOU VERY MUCH !!!☺☺☺

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

    Video on point!

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

    you should talk in your videos i would like the explanation, but i love it thank u

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

    super navbar video tutorials I like it and a very helpful video for all students thanks, sir. 🤩😍😇

  • @user-qg1hy1ct4g
    @user-qg1hy1ct4g 10 месяцев назад

    nice one

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

    Thank you so much.

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

    Perfect bro

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

    Thank you so much

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

    great job thx a lot

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

    👍👍👍

  • @a1ex718
    @a1ex718 Год назад +1

    it doesn't do anything at all when u click the buttons. Where do you start by putting text so it can appear each click?

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

      You can download the source code of this navbar from the link in the description section.

  • @worthex_2
    @worthex_2 Год назад +1

    Can you please explain how this works? I mean...
    • What does the checker do?
    • How do these buttons open / close the menu?

  • @user-ir4ih5jw7h
    @user-ir4ih5jw7h 4 месяца назад

    Thanks Bro❤❤

  • @chinenyeoluyede2511
    @chinenyeoluyede2511 11 месяцев назад

    My own menu doesn't open when I click the bars, what could I be doing wrong? I didn't use the checkboxes by the way

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

      You, can get the source code of this menu from the link in the description section and then see what missing

  • @bluecollarscrooge3981
    @bluecollarscrooge3981 Год назад +1

    how would i center the menu itself after removing the image? thanks

    • @DeltatyCode
      @DeltatyCode  Год назад +1

      you can use flex box

    • @bluecollarscrooge3981
      @bluecollarscrooge3981 Год назад +2

      @@DeltatyCode thank you very much but im kinda newbi where do i write flex-box in? also am i literally writing the words flex-box into a place in css and where thanks again!

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

    Very cool method to avoid JS. But, how can we close the menu when a link is clicked ?
    Thanks

    • @DeltatyCode
      @DeltatyCode  8 месяцев назад +1

      Hi, you just need to toggle the checkbox.
      You can check if checkbox is the checked or not using the :checked CSS pseudo-class and based on that you can open or close your menu

  • @user-mf3pl2oe1r
    @user-mf3pl2oe1r 9 месяцев назад

    Two hamburger icons are overlapping on each other.
    How can I fix that issue?

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

      CSS z-index property will fix this for you

  • @adamhardin3678
    @adamhardin3678 7 месяцев назад

    How can i move the menu the link like home products contatc to the right

  • @DrCrisp-gm1bv
    @DrCrisp-gm1bv Год назад

    I've tried to follow the instructions but mine doesn't work. is it possible for me to send you my script so you can tell me what I'm doing wrong

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

      First try to download the source code of this project from the description section and replace images with yours and see if it works otherwise u can send me ur code on the Facebook page to see it .

  • @israelojehonmon-nf6ql
    @israelojehonmon-nf6ql 8 месяцев назад

    pls help it not showing any list on my side is just clickable that's all

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

      Hi, you can get the source code of this side menu from the link in the description section.

  • @Crazyopgamerz87
    @Crazyopgamerz87 10 месяцев назад

    bro how can i add website name in just right side of logo .........

    • @DeltatyCode
      @DeltatyCode  10 месяцев назад

      You can put your logo and website name side by side in a wrapper like span or div and adjust that with flex box 😉

    • @Crazyopgamerz87
      @Crazyopgamerz87 10 месяцев назад

      @@DeltatyCode thanks bro i have done 😀🤗

    • @Crazyopgamerz87
      @Crazyopgamerz87 10 месяцев назад

      @@DeltatyCode you can make video on this that how to animate hameburger menu open menu and close menu 😉.....

  • @ciprian5158
    @ciprian5158 6 месяцев назад

    not work

  • @lazy-hero.
    @lazy-hero. Год назад

    Hey where is script??

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

      Hi @Lazy-Hero , I didn’t use JavaScript for this hamburger 🍔 menu , only HTML & CSS.

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

    goes too fast.

    • @seniorgonzalez9291
      @seniorgonzalez9291 5 месяцев назад

      For real ? You can slow down the the video 😅