How To Create Advanced CSS Dropdown Menus

Sdílet
Vložit
  • čas přidán 14. 06. 2024
  • FREE CSS Selector Cheat Sheet: webdevsimplified.com/specific...
    Dropdown menus are one of the more common things you will create as a developer, but most developers create boring looking dropdowns. In this video I will show you have to create and advanced CSS dropdown that can include things such as forms or advanced navigation.
    📚 Materials/References:
    FREE CSS Selector Cheat Sheet: webdevsimplified.com/specific...
    Starting GitHub Code: github.com/WebDevSimplified/a...
    GitHub Code: github.com/WebDevSimplified/a...
    Async Vs Defer Video: • What Is The Fastest Wa...
    Async Vs Defer Article: blog.webdevsimplified.com/201...
    JavaScript Data Attribute Article: blog.webdevsimplified.com/201...
    🌎 Find Me Here:
    My Blog: blog.webdevsimplified.com
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    ⏱️ Timestamps:
    00:00 - Introduction
    00:20 - Demo/Starting Code
    00:56 - Dropdown CSS
    07:50 - JavaScript
    11:25 - Advanced Menu HTML/CSS
    #Dropdown #WDS #CSS

Komentáře • 347

  • @BarisPalabiyik
    @BarisPalabiyik Před 2 lety +615

    Imagine entering a website, seeing a regular dropdown, and close the browser with anger. :D

  • @woofiewill
    @woofiewill Před 2 lety +47

    13:30 max-content does not mean that things will "be as wide as they possibly can be". Max-content will make it as large as it needs to contain the content without wrapping.

  • @bokwoon
    @bokwoon Před 2 lety +173

    The best dropdown is a simple dropdown. You don't need anything more than that, if you care about user accessibility.

    • @minglee5249
      @minglee5249 Před 2 lety +30

      Also if javascript is disabled for any reason then this dropdown solution will not work

    • @sicfxmusic
      @sicfxmusic Před 2 lety +26

      @@minglee5249 Ahh yes those damn IE6 users 😂

    • @voidemon490
      @voidemon490 Před 2 lety +13

      yeah doesnt support terminal based browsers. disliked...

    • @baczek40
      @baczek40 Před 2 lety

      totally agree

    • @astrotecn
      @astrotecn Před rokem

      @@sicfxmusic why supporting such a old ass fucking browser is still a must is beyond me
      who the fuck uses this shit

  • @CyberTechBits
    @CyberTechBits Před 2 lety +11

    Great tutorial Kyle! I was doing something very similar with a "slide in" menu, but was using click events on the menu buttons. I love the use of data attributes and the event listener! I was doing something "creative" to call the correct menu to "slide" based on IDs etc... This is much cleaner and I will be moving my design to use data attributes and a simple event listener to production! Thanks Kyle!!!

  • @HarshKapadia
    @HarshKapadia Před 2 lety +6

    What a good tutorial! Well done, Kyle!

  • @srymisclick
    @srymisclick Před 2 lety +43

    The accessibility of this solution is horrendous.

    • @iquahs
      @iquahs Před 2 lety +2

      I was losing track at around 4 minutes in with that many selector combinators lol

    • @tomasz9429
      @tomasz9429 Před 2 lety +3

      Gotta flex on them plebs ;)

  • @Nicolas5095
    @Nicolas5095 Před rokem +1

    This tutorial was super useful to me as I was trying to make these dropdowns close when clicked outside, the thing is every time I would click on the content of the dropdown it would close, so my workaround was getting the ID of every element inside the dropdown div and setting it to not close when clicked, of course I knew this wasn't ideal but couldn't make it work otherwise, thank you for this video!

  • @CyberTechBits
    @CyberTechBits Před 2 lety +17

    I modified your code a bit and can place the content anywhere on the page to perform the desired animation (not just under the "dropdown"). In my case I am sliding a menu from the left to the right in a container located below my header/menu... very cool! Looks fantastic on mobile devices! Super user friendly! Thanks Kyle!

    • @tate2697
      @tate2697 Před 2 lety +1

      that’s actually exactly why I clicked on it lol

    • @mlungisisidu7653
      @mlungisisidu7653 Před 11 měsíci

      I'd Love to see ya code

  • @christopherreif3624
    @christopherreif3624 Před rokem

    You have some of the best front-end content I've seen yet, thank you!

  • @aCitizenJOSerased
    @aCitizenJOSerased Před 2 lety +110

    Hey Kyle, thanks for your awesome video.
    Here's my sole remark:
    - Use semantically correct HTML tags wherever possible. E.g. use and instead of s everywhere.

    • @pdsnpsnldlqnop3330
      @pdsnpsnldlqnop3330 Před 2 lety +6

      And no css variables. Also using pixels.

    • @CyberTechBits
      @CyberTechBits Před 2 lety +12

      My $0.02.. I like that he uses divs doesn't bother me at all and makes perfect sense since you can use this anywhere... say a slide in forms in a different container.

    • @akzual50
      @akzual50 Před 2 lety +3

      Or use code to generate your elements like a sane individual.

    • @fayth7199
      @fayth7199 Před 2 lety +1

      Im starting up Web dev, sorry if this sounds dumb, but why is this important?

    • @harmonicresonanceproject
      @harmonicresonanceproject Před 2 lety +16

      @@fayth7199 Because properly formatted web pages are what search robots need to index the site. Look into the changes that Google have made recently in terms of web page structure and indexing eg. It's very much related to correct html structure and useage at the core. A podcast I recommend is 'HTML All The Things Podcast'.

  • @robertkaminski1781
    @robertkaminski1781 Před 2 lety +29

    You could remove js by using :focus-within selector.

  • @jakobo5521
    @jakobo5521 Před 2 lety +2

    That was really helpful, thank you for all your work! :)

  • @VivekTR
    @VivekTR Před 2 lety

    Thank you for these tutorials. They are really helpful and you're doing a wonderful job.🙂

  • @thatsalot3577
    @thatsalot3577 Před 2 lety

    I can't express how thankful I am to you Kyle.

  • @z4ckfytc777
    @z4ckfytc777 Před 2 lety

    Thank you so much! I love your videos and I'm always checking my YT notifications to see if you uploaded a new vid!

  • @aurobindobhuyan2107
    @aurobindobhuyan2107 Před 5 měsíci

    Thanks, CZcams for recommending this video. This is exactly what I want now.

  • @lorenainfanter.3099
    @lorenainfanter.3099 Před 2 lety

    Thank you very much!!! Always learning something new from you!

  • @YellowManPsypeople
    @YellowManPsypeople Před 2 lety

    You are amazing. AS usual. Very helpful, clear and in time..
    Good work. Appreciate.

  • @siriusFish1
    @siriusFish1 Před rokem

    Switching this over to a react component has been fun.

  • @rogerpence
    @rogerpence Před 10 měsíci

    Superb! Thank you very much. Beyond the big picture presented, there are so many cool little nuggets to glean here.

  • @natb007
    @natb007 Před 5 měsíci

    Great video! Nice voice and pace, pleasant to follow! Thank you very much!

  • @TechOasis101
    @TechOasis101 Před rokem

    Just the tut I was searching for thanks 🙏

  • @shervinmokthari1251
    @shervinmokthari1251 Před 2 lety

    absolutely awesome tutorial sir!

  • @siddarthd9774
    @siddarthd9774 Před rokem

    You are really a life saviour for many candid like me... You are really a pure soul....Thanks a lot ❤️... pls do more tasks like these...

  • @evelynakow6771
    @evelynakow6771 Před 4 měsíci

    Thank you so much for creating this video, through explanations which I appreciated and was able to customize it to my website!

  • @Pilosofia
    @Pilosofia Před 2 lety +13

    I have a suggetion , You could added index-tab to the dropdown div (the div will have ability to focus and blur ) , then use somthing like this .dropdown:focus > dropdown-menu {...}.

  • @paupang781
    @paupang781 Před 2 lety

    You're awesome! Thank you for sharing your knowledge :)

  • @itdept6121
    @itdept6121 Před rokem

    Hey!! Thanks for this and for the Cheat Sheet it was Awesome!!! 😍

  • @mahmoud-bakheet
    @mahmoud-bakheet Před 2 lety

    it’s nice .. welcome back 😍

  • @nate1988
    @nate1988 Před 2 lety +24

    I felt like I had a pretty good grip on CSS and rudimentary JS for DOM manipulation but man do I learn a ton from these videos. Using data selectors, target in JS, handling CSS -- you're very talented with this stuff, and I very much appreciate it because I'm here to learn and I definitely am doing just that.

    • @ayazaslam1362
      @ayazaslam1362 Před 2 lety

      u dont learn u get brainwash so u watch his videos more. at 3:10 no need to use calc but he will so people get curious. i give u one more example he will make videos and talk fast so people watch again and again.
      in short he f**k smartly with your brain. i hate him now more than ever. unsubscribe. why he dont make videos with normal talking speed and eassy examples so we dont go to google and calculate rem to px and in multiply etc. In short smart business man bad or shall i say worst teacher. unsubscribe. hope u understand my point.

    • @nate1988
      @nate1988 Před 2 lety +2

      ​@@ayazaslam1362 I understand how you feel (if I read that correctly), but part of my self-teaching journey is not buying any products and not paying any tuition. I've been doing fine thus far and while I appreciate this guy, I am not spending money on courses. That doesn't exclude donating to a good creator (like WDS) though.
      If concepts seem scattered and/or fast, that's fine for me. The trick to teaching myself is knowing how to piece myriad resources together. This channel is but one resource of many.

    • @ayazaslam1362
      @ayazaslam1362 Před 2 lety +1

      @@nate1988 I am also doing self study .
      Covid = lost job lol. I get furistate by these things. I feel u self study is hard specially when u r doing practice and do silly mistake. Good luck if need self study partner I am available 24/7 now a days.
      I know little bit html css Js and php.

    • @nate1988
      @nate1988 Před 2 lety +1

      @@ayazaslam1362 Early 30s here and in a similar situation to you. Its a tough time right now, I feel that. I just try to focus on the positive of things, like the videos here for free, because it's easy to get lost in negativity in this world.
      Best of luck to you in your studies 👍

    • @watwoot9020
      @watwoot9020 Před 2 lety

      @@ayazaslam1362 lol, salty much. maybe you should try learn some more fundamentals, if you can't follow the code. Also, you can play the video at lower speeds. I really don't get why you are so mad about it, its free anyway and very decent code =/

  • @alenachuyankova
    @alenachuyankova Před 2 lety

    Thank you! You are very talented!

  • @ScreenPunditsNetwork
    @ScreenPunditsNetwork Před 2 lety

    Awesome content... Thank you for being my inspiration

  • @leannezilka9355
    @leannezilka9355 Před rokem

    Thank you for this tutorial!

  • @peterschmitt2735
    @peterschmitt2735 Před 2 lety

    Very good video. I will use this way t build navigation in the future.

  • @marvinfok65
    @marvinfok65 Před 2 lety

    Great lesson!

  • @DaJungleDred
    @DaJungleDred Před 2 lety

    This is awesome thank you for sharing👍👍👍👍

  • @threeone6012
    @threeone6012 Před 2 lety

    Just read the article on using data attributes instead of classes and it's gold. It's my new method.

  • @Renodarkholes
    @Renodarkholes Před 2 lety +4

    Love what you do on CZcams...nice videos.
    Is it possible to make a video to show how make this dropdown menu responsive?

  • @musicforyou4444
    @musicforyou4444 Před 2 lety

    Thank you for helping me.

  • @FilipCodes
    @FilipCodes Před 2 lety +1

    Awesome 🤩

  • @lucas_oficcial
    @lucas_oficcial Před 2 lety

    thanks man! you are amazing

  • @Vega004
    @Vega004 Před 2 lety +3

    Btw you are awesome brother ❤️

  • @Happy_Shaikh
    @Happy_Shaikh Před 2 lety

    Love your tutorials man😍😍😍
    Can you please tell the name of the video editor and screen recorder you are using🙏🙏🙏

  • @thecyrusj13
    @thecyrusj13 Před 2 lety

    You're superhuman. Anyone who wants to make petty criticisms is jealous. Thanks for your videos.

  • @mahabub-sunny
    @mahabub-sunny Před 2 lety

    You are always great...

  • @lucienchu9649
    @lucienchu9649 Před 2 lety

    Thanks, now I know a better way to dismiss dropdown properly.

  • @elegance1802
    @elegance1802 Před rokem

    thank you Kyle!

  • @jozsefszabados1183
    @jozsefszabados1183 Před 2 lety

    Thank you bro!

  • @Shulkerkiste
    @Shulkerkiste Před 2 lety +2

    Well, the first example looks clearer to me.

  • @OnePieceWonPeace
    @OnePieceWonPeace Před 2 lety +21

    How about a pure CSS solution: use nested s & s while leveraging pseudoclass :focus-within, :focus, and :hover. Focus Within should do the heavy lifting, but you may want the Hovers, and also .sibling:pseudo ~ .sibling-or-child, depending on how you want to put it together. If this doesn't makes sense to you, good. Go explore. It's 2021. You don't need JavaScript (which is great) to make amazing, solid, scalable dropdown menus, megamenus, popovers, etc.

    • @rafalpotasz
      @rafalpotasz Před 2 lety +3

      Very sensible advice imo. I do think that if JS isn't needed, it shouldn't be used and there is a plethora of solutions waiting to be explored.

    • @theosdinoysios4350
      @theosdinoysios4350 Před 2 lety +4

      Avoid JS as much as you can.

    • @mitetoOoOoO
      @mitetoOoOoO Před 2 lety +1

      When he said he needed JS to "unfocus" the buttons, I immediately thought of checkboxes, because they can be easily unchecked, so I gave it a try. I made the exact same menu and it worked. However when I hit the Tab key on my keyboard it goes through my sub-links even if the box is not checked. What did I do wrong?

    • @davivify
      @davivify Před 2 lety +2

      Hey OnePieceWonPeace, I'd say if you figured out how to do it we'd love to see an example.

    • @cobra02411
      @cobra02411 Před 2 lety +1

      Maybe I'm lacking in my CSS kung fu but how do you handle toggling an attribute? You need aria-expanded to convey the state of the control to a screen reader to be accessible. So aria-expanded needs to be toggled between true / false and the only way I know how to do that is with JS.
      Also, you have to be careful with pseudo elements because screen readers only read what's in the DOM.
      I'd have to see an example but I'd be very concerned about the accessibility of it.

  • @geb2
    @geb2 Před 2 lety

    Love the video. If you have a transition on opacity but not on the pointer-events, will the non-transitioned properties change at the end of the transition or at the beginning? (I'm guessing effectively at the beginning, since it'll respond immediately to the new ':focus' status?)

    • @MrMudbill
      @MrMudbill Před 2 lety

      The pointer events will enable as the animation begins when opening. They will disable when it animates out. So if you're quick, you can click something within it just before it opens, but you can't when it closes.

  • @karlsgarage6477
    @karlsgarage6477 Před 2 lety +4

    Thank you for all of your videos. I’m not sure if you’ll get this reference, but you’re the ChrisFix of making websites

  • @behindthescene2727
    @behindthescene2727 Před 2 lety

    will have to try this

  • @MrGarysjwallace
    @MrGarysjwallace Před 2 lety

    Dev you are good at Java- impressed- very

  • @osmangonisufy629
    @osmangonisufy629 Před rokem

    Boss, You are awesome

  • @kamakiapeter7815
    @kamakiapeter7815 Před 2 lety

    wow. that great. now please save me time i just download.with thanks.

  • @dansanger5340
    @dansanger5340 Před rokem +3

    Did you know that you can copy and paste the text directly from the video? It's built into Safari. Just pause the video, select the text you want with your mouse, and copy and paste. Other browsers might support it as well. If not, there are plug-ins available. I discovered this by accident.

  • @plantnt489
    @plantnt489 Před 3 měsíci

    Id love to see a version of this for react

  • @scyllado3769
    @scyllado3769 Před 2 lety

    wow, you taught me a way to toggle active class of a group of items
    "click item 1 to toggle active class, and remove active class from other items in the group"

  • @mysterbirdtrooper6516
    @mysterbirdtrooper6516 Před 2 lety +1

    I gotta say the cheatsheet is very helpful.
    I’m going back to web dev after a break and that cheatsheet is definitely speeding things up.

  • @jamshediqbal7936
    @jamshediqbal7936 Před 2 lety

    Very impressive. Good job!

  • @groovebird812
    @groovebird812 Před 2 lety +5

    Hi, what is the advantage of using javascript over building the dropdown with pure css?

    • @OnePieceWonPeace
      @OnePieceWonPeace Před 2 lety

      None! Other than potentially using the CPU instead of the GPU, if that's actually what you want.

  • @TheNormMan
    @TheNormMan Před 4 měsíci

    I would be happy being able do the boring dropdown

  • @colindante5164
    @colindante5164 Před 2 lety +30

    The method outlined here is visually appealing and the code (having finally figured it out with slight modification to my CSS) is a keeper.
    However, using the tab key to navigate through the menu items one has to cycle through the contents of the drop down menus and this stems by toggling opacity as opposed to display.
    Even though it looks great the downside is folks that are visually impaired shouldn't have to go through this mundane process.
    It's one thing to disregard Internet Explorer when selecting your target audience but quite another not to take the visually handicapped into consideration. Please cater to them by using Wai-Aria.
    Thankyou for this block of code.

    • @williamlindsayiii824
      @williamlindsayiii824 Před 2 lety +1

      Do u think there is away too make this type of menu accessible for all? Good analysis

    • @colindante5164
      @colindante5164 Před 2 lety +4

      @@williamlindsayiii824 To answer your question directly use aria-expanded when creating drop down menus. There's quite a bit to learn using Wai-Aria. But why stop there; if we are using accessibility in the navigation bar we should implement it throughout our HTML document.
      Try and refrain from using div's and use schematic tags like nav, article, aside, section, figure, figcaption and obviously the h1 through h6 tags.
      Use the 'Outline Algorithm' to reflect as how you intended your page to be displayed (Notice how I phrased this sentence). Use hgroup to hide tags so they don't show up in the Outliner Algorithm Tool. This is used by screen readers and web crawlers to interpret your content.
      With respect to SEO, it's the content that gets ranked so take advantage of 'google search console'.
      I hope this helps and sheds some light on where you need to focus on learning these technologies.

    • @photofrode
      @photofrode Před 2 lety +1

      Add visibility: hidden; to actually hide the content (supports transitions), add aria-expanded for context and set .focus() when opening.

    • @Dev-zr8si
      @Dev-zr8si Před rokem +2

      @@colindante5164 This is a video about dropdown menus, not accessibility. You people love shoving BUT THATS NOT ACCESSIBLE everywhere as if that makes you a better person than everyone else.

    • @colindante5164
      @colindante5164 Před rokem

      @@Dev-zr8si you have issues and fortunately I'm not a shrink so I don't have to deal with them.))

  • @rayyan-munassar
    @rayyan-munassar Před rokem +1

    You are talented in delivering the information. May Allah guide to way of truth brother. You are a treasure.

  • @Aalok464
    @Aalok464 Před 2 lety

    Feel good to be in first 10 comments awesome video

  • @jserr9682
    @jserr9682 Před 9 měsíci

    Just when I think I have my css and html down I get taken to school Damm IT lol. Thank you bro you rock!!!

  • @nixonlim4715
    @nixonlim4715 Před 2 lety +11

    would love to see you making it responsive.

    • @watwoot9020
      @watwoot9020 Před 2 lety +1

      it basicly is responsive, you just need to copy paste the dropdown, change the absolute position and hide/show at certain viewports. That said, thanks for the video :)

  • @AlexAnder-fk2yg
    @AlexAnder-fk2yg Před rokem

    Thx, interresting example instead of using standart ul li way

  • @MiSt3300
    @MiSt3300 Před 2 lety

    I totally love his videos!

  • @viktoriiakratser3363
    @viktoriiakratser3363 Před 2 lety

    You are rock :)

  • @BorisDiRocco
    @BorisDiRocco Před rokem

    Hi there, thanks so much for the tutorial. I would like ask you about :focus selector cause, doesn't work actually on safari but only in chrome. I tried a couple of things but nothing. Hope you can help me cause actually like your method. Thanks

  • @ashleygahl3638
    @ashleygahl3638 Před 2 lety +2

    Amazing as always. Wish Kyle can do a crash course on the arcgis javascript api

  • @mswondo
    @mswondo Před 7 měsíci

    I try to use focus-within to replace the javascript. But we must click on it to appear the pulldown/drop down. And using left, right, top, bottom; I try to control the direction of the dropdown. It's may be : drop down to left, drop down to right, drop up to left, drop up to right.

  • @coderholic6741
    @coderholic6741 Před 2 lety

    can you make it on hover as most of the cases there are more on hover than on click, i tried to modify your code but got some problems. the menu is bouncing up and down, what's the good way to modify it to on hover?

  • @me_manish_prajapati
    @me_manish_prajapati Před 2 lety +4

    What do you think about focus-within? We can use that to achieve same via css only.

  • @PostHocNonSeq
    @PostHocNonSeq Před 2 měsíci

    If you are still reading comments, is there any chance you could tell me why the html doesn't seem to work. All of the links come out in a vertical column when I run it in chrome? I am trying to learn something and not really at this level yet. Thanks, Joe

  • @euanblack5959
    @euanblack5959 Před 2 lety +1

    Why does my visual studio 2019 not recognise the data attributes (data-dropdown) it just treats it like a class

  • @techshab9060
    @techshab9060 Před 2 lety +3

    CSS is very powerful language 👍👍👍

  • @user-hf5tm2rk4v
    @user-hf5tm2rk4v Před 3 měsíci

    I am brand new to this coding and learning. How do i get the webpage open so i can see my code making changes like he has on the right side of the screen.

  • @serg1221
    @serg1221 Před 2 lety

    Thanks

  • @amindhahri2542
    @amindhahri2542 Před 2 lety

    Kyle how do you remember so many tags attributes?

  • @georgianjusondac2126
    @georgianjusondac2126 Před 2 lety

    I try the same way you did, but when I put i with class which mean icon instead of the text. it Does'nt work.

  • @swapnilcodes
    @swapnilcodes Před 2 lety

    Awesome

  • @dzlifestyle1434
    @dzlifestyle1434 Před rokem +1

    thnx for usefull video
    how we can use it with reactjs i mean js code

  • @ashimxtha6407
    @ashimxtha6407 Před 2 lety

    thanx bro

  • @septimusforster
    @septimusforster Před 6 měsíci

    About bringing in those customers in my life, Kyle, you've done incredibly so well. Much thanks.

  • @woofiewill
    @woofiewill Před 2 lety

    Nice rundown! One little loose end though; if your screen width was any smaller that Login dropdown would overflow off the right side of the screen wouldn't it? How do you ensure the dropdown gets pushed in that case to the left to accommodate for that?

    • @Johan.A02s
      @Johan.A02s Před 2 lety

      Hmmm... I think, "float" Left & Right is the better answer for this question, without using "max-width" 😅

  • @jbalmarez8414
    @jbalmarez8414 Před 2 lety

    Awsome.

  • @GurenDonOfficial
    @GurenDonOfficial Před 11 měsíci

    Everything works except the end of the javascript chapter
    everything seems to work and I followed every single instruction but it doesn't seem to work after inputting the new javascript and css

  • @user-oj3rm9lw7n
    @user-oj3rm9lw7n Před 3 měsíci

    The first one was good and will collect people in website.

  • @krtirtho
    @krtirtho Před 2 lety +23

    "How To Create Advanced CSS -Dropdown- Popover Menus"
    Fixed the title

    • @AmodeusR
      @AmodeusR Před 2 lety +6

      But isn't it dropping down?... 🤔

    • @michaelc234
      @michaelc234 Před 2 lety

      @@AmodeusR lol

    • @Johan.A02s
      @Johan.A02s Před 2 lety

      😂

    • @cobra02411
      @cobra02411 Před 2 lety

      I call them flyout menus.
      Some folks call it a Sling-blade, I call it a Kaiser Blade. Mmm hmm. :)

  • @mriservice1671
    @mriservice1671 Před 3 měsíci

    Dropdown was working but deleting menu items. When you change the css it will not even open. Looked great but appears to be broken

  • @karstenthurfjell-scholz6065

    What about your guitar? Maybe some simplified Zappa riffs in a follow-up video? Even though it‘s no SG 🙂

  • @AlmasyAlliances
    @AlmasyAlliances Před 2 lety

    For my dropdowns I've been using the 'details' and 'summary' tag with a z-index of 1000 on the 'on' state. You might look into that, save you a ton of JS code.

    • @RodrigoMendoza7
      @RodrigoMendoza7 Před 2 lety

      Wouldn't that be more suitable for information-revealing purposes than navigation menus?

    • @woofiewill
      @woofiewill Před 2 lety

      Might work for you, but is likely very non-accessible.

    • @stelatasheva4993
      @stelatasheva4993 Před 2 lety

      not very accessibility friendly, since it's purpose is deferent. Better be wrapped in if you do this for some reason...

  • @user-kk4es3li1p
    @user-kk4es3li1p Před rokem

    How do you stop the drop-down from going beyond the screen?

  • @sultanaq7
    @sultanaq7 Před rokem

    I want response menu using bootstrap 5.1.3
    Please any one know video about this?

  • @AntoniKrokodyl
    @AntoniKrokodyl Před 5 měsíci

    Could anyone explain what the JS code dose? Step by step.

  • @supremachine
    @supremachine Před 2 lety

    if the navbar is responsive and turns into a dropdown for smaller screens, then what do we do for the secondary dropdown?

    • @pierre-jeanchancellier8955
      @pierre-jeanchancellier8955 Před 2 lety +1

      The easiest way is to hide this navbar for small screens and to display the hamburger menu instead.

  • @caminhodaslutas
    @caminhodaslutas Před 2 lety

    Hello, can you do that example for ReactJS?