Pure HTML and CSS drop down navigation bar

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

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

  • @haarisnaeem4751
    @haarisnaeem4751 6 лет назад +56

    These are good videos but just a suggestion: can you put the code in the description so we don't have to keep pausing. Thank you. Like if you agree

    • @adnantv3162
      @adnantv3162 6 лет назад +8

      #adnan
      {
      background-color: red;
      height: 500px;
      }
      #nav
      {
      background: tomato;
      max-height: 800px;
      }
      ul
      {
      list-style: none;
      padding: 0;
      margin: 0;
      position: absolute;
      }
      ul li
      {
      float: left;
      margin-top: 20px;
      }
      ul li a
      {
      width: 150px;
      color: white;
      display: block;
      text-decoration: none;
      font-size: 20px;
      text-align: center;
      padding: 10px;
      border-radius: 10px;
      font-family: Century Gothic;
      font-weight: bold;
      }
      a:hover
      {
      background: #669900;
      }
      ul li ul
      {
      background: tomato;
      margin-top: 10px;
      }
      ul li ul:hover
      {
      transition: 2s ease;
      background: gray;
      color: white;
      }
      ul li ul li
      {
      float: none;
      }
      ul li ul
      {
      display:none;
      }
      ul li:hover ul
      {
      display: block;
      }
      HOME
      NEWS
      BLOG
      FEEDBACK
      MORE

      MORE1
      MORE2
      MORE3
      MORE4
      MORE5

      ABOUT
      CONTACT

    • @adnantv3162
      @adnantv3162 6 лет назад +2

      bro this code

    • @chogi9860
      @chogi9860 4 года назад

      thanks so much

    • @aaranragu
      @aaranragu 4 года назад +2

      @@adnantv3162 God Bless your soul man hahaha. Thankiuuu

    • @adnantv3162
      @adnantv3162 4 года назад

      @@aaranragu thanks

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

    I have watched several of your videos they are great.I dont know how but i just search ,scroll down and just click your video without knowing😅😩

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

    What a superb vudeo for a beginner like me, i appreciate

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

    Great and simple video for beginners.,Good Work for mate.

  • @rthosarrohini
    @rthosarrohini 4 года назад +9

    I have done same coding but after ul li ul : hover display: block not working. That is sub menus are not displayed after mouse over to list.

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

    This was such a nice and easy guide on navigation bars. I had to pause the video a lot or go back while i was doing the work, but that's all a process of learning.

  • @스타니-k6y
    @스타니-k6y 2 года назад

    It was a very useful video. Thank you.
    I almost couldn't find a way to make my own code,
    When I watched this video, I finally found a way.
    It was easy, simple and effective

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

    you nailed it! very nice! now i have to practice this. it's harder than i thought it would be for sure

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

    Thankyou webmaster.

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

    thank you for this video
    it's very use full for me

  • @kurnool_loke
    @kurnool_loke 4 года назад

    congrats bro best videos i seen

  • @actuall55
    @actuall55 5 лет назад +3

    this is a great video thank you for your time an putting it together

  • @samadsiddiqui9435
    @samadsiddiqui9435 4 года назад

    U r to good you make my work to easy .thank u sir u r great .

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

    Nc bro easy method . Thx 😊

  • @cheesealone6443
    @cheesealone6443 5 лет назад +7

    i can't get the drop down to come down

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

    Hey mate i want my dropdown menu if i click on a list it will load and open the content of my work

  • @ManishKumar-de5up
    @ManishKumar-de5up 5 лет назад

    very nice video sir it helps me a lot in my project

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

    Thank you for sharing your experience with us. Would you kindly please show us how to add a title to the left and then the navbar next to it because I have tried to float the bar to the center but it didn't work. Thank you

  • @smitadeshmukh8161
    @smitadeshmukh8161 4 года назад

    Nice vedio sir #webgurututorials

  • @jatindahiya4398
    @jatindahiya4398 4 года назад

    Excellent video

  • @PP-gx7cs
    @PP-gx7cs 2 года назад

    Very Good

  • @alexjoma190
    @alexjoma190 6 лет назад

    why did not use tag before the element so that whole area be capable of being selected...

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

      It chose one to be selected . Obviously.

  • @be-kreidly1515
    @be-kreidly1515 Год назад

    Hello sir, the website you put in the description box is not taking me to the source code as you stated above. I did my account in Appian and still not finding any code there.

  • @rohitkumawat5419
    @rohitkumawat5419 4 года назад +1

    Thank you so much sir

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

    Thanks

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

    Thanks a lot sir

  • @manideep_talampally
    @manideep_talampally 4 года назад

    If you keep on hover then how will it work on mobile version....we cannot have cursor in mobile right....make a video without hover effect....like on clicking that li we have to get inside of list

  • @TOPMUSIC-pw1ii
    @TOPMUSIC-pw1ii 4 года назад

    thanks aloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttt my brother

  • @bestmoments4908
    @bestmoments4908 4 года назад

    In navigation bar if move our mouse it's disappear right how can be fix as till select the option

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

    your codes were helpful but only problem i faced was that the dropdown hides into the navigation bar....waiting for your help ..thankyou

  • @alimonsur6545
    @alimonsur6545 5 лет назад

    Thank for share the video

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

    Tq so much😇

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

    How to write paragraph contents for l tabs and more 1, more 2 and other major tabs. Plz help

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

    THX sir

  • @mdriyad2486
    @mdriyad2486 5 лет назад +1

    Thank You 👍👍

  • @נבוצברי
    @נבוצברי Год назад

    The navigation bar is on the left. How can I change it to the center?

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

    how to make hover full, in full width?

  • @bayuyudhasaputra3169
    @bayuyudhasaputra3169 5 лет назад

    Greet css trick...
    But there is typo in html code..
    You write without
    (in 4.20)
    Thank...

  • @gonzalosantiago3839
    @gonzalosantiago3839 4 года назад

    thnak you

  • @poojansenghani1420
    @poojansenghani1420 4 года назад

    Thank you for learning

  • @chundurusriharsha2402
    @chundurusriharsha2402 6 лет назад +3

    How can we understand this program without explanation,so type the program with explanation,so that we can understand it.

  • @RABWA333
    @RABWA333 7 лет назад

    thanks , simple and clear

  • @itmoindrive
    @itmoindrive 7 лет назад

    Just create it. Possible for me. Thank you. Doing great and carry on.

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

    I have done same coding but after ul li more options not working...... plz explain properly

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

    My problem when creating dropdown menu is, drop down menu not sit right under its parent menu. Its goes left on page

  • @samimhossain7913
    @samimhossain7913 4 года назад

    Your boss bro

  • @surajtiwari1796
    @surajtiwari1796 4 года назад +5

    Not working

  • @neelamsomavanshi3547
    @neelamsomavanshi3547 4 года назад

    Thanku

  • @arpinedarbinyan737
    @arpinedarbinyan737 4 года назад

    Can I create dropdown without "ul and li"????

    • @himikookami3047
      @himikookami3047 4 года назад +1

      no you must use ul and li

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

      That's the code for it lol 😂 why you trying to find another way?

  • @kazuki32_z75
    @kazuki32_z75 4 года назад

    still using notepadd++ now.. XD

  • @Toro-Tor
    @Toro-Tor 2 года назад

    These days more than 50% of users browse with a smartphone - and there is NO HOVER-EFFECT ON SMARTPHONE,
    therefore you should not use this code - you should add the "toggle" effect.

  • @o1techacademy
    @o1techacademy 4 года назад

    This is great. Thanks.
    Will the menu bar be responsive on a mobile device?

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

      Need code in HTML to do that

  • @integrateeverything
    @integrateeverything 4 года назад +1

    Please send me the source code

  • @ak_digiservices
    @ak_digiservices 6 лет назад

    anyone can create this ,but u have to use different tools for that which is flexible

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

    Kindly give this source file it is not availabile in given source file link

  • @MovieMenno
    @MovieMenno 6 лет назад

    thank you so much

  • @informatiquedz9800
    @informatiquedz9800 7 лет назад +1

    you should use flexbox ;)

    • @webmaster1498
      @webmaster1498  7 лет назад +1

      Thank u for suggestion ...........

    • @techtipsuk
      @techtipsuk 6 лет назад

      Why would you do that? just limit browser support for no reason

    • @eula1194
      @eula1194 6 лет назад

      flexbox makes html code dirty.. css gird > flexbox

    • @techtipsuk
      @techtipsuk 6 лет назад

      I think you mean Grid. You're talking shit though. CSS has no bearing on HTML code. Thats the whole point of CSS, the separation of concerns.

    • @eula1194
      @eula1194 6 лет назад

      CSS GRID framework not Grid..
      in response to user : Informatique DZ
      since he's talking about css frameworks... might as well use the cleaner one

  • @sabertoothwallaby2937
    @sabertoothwallaby2937 4 года назад

    Does href have to equal #? Or is this for example?

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

      it can be anything u want

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

      @@THlive really??

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

    not able to download the file bro

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

    Sir I want source code for this file..

  • @jifunzeteknolojia9304
    @jifunzeteknolojia9304 7 лет назад

    Good

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

    Bro code to koi bhi type krle usse smjhaya he nhi, not taught what you did but just showed how you did

  • @sauer.voussoir
    @sauer.voussoir 6 лет назад

    thank you :D

  • @hermannyao7464
    @hermannyao7464 6 лет назад

    thank

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

    Not Working Actually :/ SOmething error in the words in the navigator bar

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

      U doing it wrong and not paying attention or u using a different text editor

  • @rudrakumar7183
    @rudrakumar7183 4 года назад

    Aap to sirf type karte na rahe ho samjhaye to thoda bhi

  • @prabu2778
    @prabu2778 4 года назад

    ul li :hover ul li
    {
    }

  • @nyasha._
    @nyasha._ 6 лет назад

    9:39

  • @ananyagoswami7313
    @ananyagoswami7313 4 года назад

    Does he even know how to speak?? All of his words are incomplete. Like-
    Nvgtn br
    That's the way he pronounces it. Please be more clear!!!

  • @ishikakumari8910
    @ishikakumari8910 4 года назад

    Sir hindi m btao

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

    الكود خاطئ

  • @shitha24
    @shitha24 4 года назад

    What your are explaining it's look like your learning it yourself.waste of time

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

      Okay, what the fking problem? Made a nav bar ..so? Why the fck complaining son?!

  • @jamalhossain-ie6vd
    @jamalhossain-ie6vd 6 лет назад +1

    your style not good

  • @ak_digiservices
    @ak_digiservices 6 лет назад

    waste of time

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

    Thanks man

  • @syediqbalahmed3176
    @syediqbalahmed3176 5 лет назад

    good

  • @fathimaminhafarook1243
    @fathimaminhafarook1243 5 лет назад

    Thank you.

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

    Not working

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

    thank you very much

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

    thanks a lot