#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
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.
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
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
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.
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
thanks aloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttt my brother
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.
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
#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
bro this code
thanks so much
@@adnantv3162 God Bless your soul man hahaha. Thankiuuu
@@aaranragu thanks
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.
it is ul li:hover ul
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😅😩
What a superb vudeo for a beginner like me, i appreciate
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.
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
Great and simple video for beginners.,Good Work for mate.
you nailed it! very nice! now i have to practice this. it's harder than i thought it would be for sure
this is a great video thank you for your time an putting it together
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
instablaster
thank you for this video
it's very use full for me
i can't get the drop down to come down
congrats bro best videos i seen
Nc bro easy method . Thx 😊
U r to good you make my work to easy .thank u sir u r great .
your codes were helpful but only problem i faced was that the dropdown hides into the navigation bar....waiting for your help ..thankyou
very nice video sir it helps me a lot in my project
Thankyou webmaster.
why did not use tag before the element so that whole area be capable of being selected...
It chose one to be selected . Obviously.
Hey mate i want my dropdown menu if i click on a list it will load and open the content of my work
How can we understand this program without explanation,so type the program with explanation,so that we can understand it.
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.
Thank You 👍👍
How to write paragraph contents for l tabs and more 1, more 2 and other major tabs. Plz help
My problem when creating dropdown menu is, drop down menu not sit right under its parent menu. Its goes left on page
This is great. Thanks.
Will the menu bar be responsive on a mobile device?
Need code in HTML to do that
Thank you so much sir
In navigation bar if move our mouse it's disappear right how can be fix as till select the option
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
Javascript
Excellent video
The navigation bar is on the left. How can I change it to the center?
Very Good
Nice vedio sir #webgurututorials
Just create it. Possible for me. Thank you. Doing great and carry on.
Thank you sir
Plz send video
I have done same coding but after ul li more options not working...... plz explain properly
Tq so much😇
thanks , simple and clear
Greet css trick...
But there is typo in html code..
You write without
(in 4.20)
Thank...
how to make hover full, in full width?
thanks aloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttt my brother
Thank for share the video
Thanks
Thank you for learning
Not working
Yes, for me too..
anyone can create this ,but u have to use different tools for that which is flexible
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.
Can I create dropdown without "ul and li"????
no you must use ul and li
That's the code for it lol 😂 why you trying to find another way?
thank you so much
Your boss bro
Please send me the source code
Kindly give this source file it is not availabile in given source file link
thnak you
THX sir
you should use flexbox ;)
Thank u for suggestion ...........
Why would you do that? just limit browser support for no reason
flexbox makes html code dirty.. css gird > flexbox
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.
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
Does href have to equal #? Or is this for example?
it can be anything u want
@@THlive really??
still using notepadd++ now.. XD
Bro code to koi bhi type krle usse smjhaya he nhi, not taught what you did but just showed how you did
Not Working Actually :/ SOmething error in the words in the navigator bar
U doing it wrong and not paying attention or u using a different text editor
Sir I want source code for this file..
thank you :D
Thanku
not able to download the file bro
Good
9:39
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!!!
thank
Aap to sirf type karte na rahe ho samjhaye to thoda bhi
ul li :hover ul li
{
}
الكود خاطئ
Sir hindi m btao
What your are explaining it's look like your learning it yourself.waste of time
Okay, what the fking problem? Made a nav bar ..so? Why the fck complaining son?!
your style not good
How is not good???
waste of time
No...
This is native css,bro...
Thanks man
Thank you.
good
Not working
thank you very much
thanks a lot