Learn CSS dropdown menus in 6 minutes! 🔻

  Рет қаралды 104,425

Bro Code

Bro Code

Күн бұрын

Пікірлер: 54
@BroCodez
@BroCodez Жыл бұрын
Bro Code Food Apple Orange Banana /* style.css */ .dropdown{ display: inline-block; } .dropdown button{ background-color: hsl(0, 0%, 80%); color: white; padding: 10px 15px; border: none; cursor: pointer; } .dropdown a{ display: block; color: black; text-decoration: none; padding: 10px 15px; } .dropdown .content{ display: none; position: absolute; background-color: hsl(0, 0%, 95%); min-width: 100px; box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.8); } .dropdown:hover .content{ display: block; } .dropdown:hover button{ background-color: hsl(0, 0%, 70%); } .dropdown a:hover{ background-color: hsl(0, 0%, 90%); }
@Blueperry1512
@Blueperry1512 5 ай бұрын
u r the best tutor , I've searched for many video how to create dropdown , your video is magnificent at all.
@babylegs5049
@babylegs5049 Ай бұрын
I watched 5 videos before this one on the same subject, you were the only one that I actually understood what you were doing, thank you so much
@TECHTUBEOfficial1
@TECHTUBEOfficial1 Ай бұрын
Same here
@OfficerAshes
@OfficerAshes 27 күн бұрын
The best Way to do a dropdown menu. Its so simple. Thanks ❤
@Honda4Ever
@Honda4Ever 5 ай бұрын
A simple and quick tutorial. I couldn't need more! Thank you 🙏
@Spacetime23
@Spacetime23 5 ай бұрын
personally, the best and satisfying explanation which I could understand bit by bit. beginner-friendly! thanks a lot bro.
@mswondo
@mswondo Жыл бұрын
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.
@davidhusted817
@davidhusted817 Жыл бұрын
You must to add a third parameter for the addeventlistener to "false" , because the default event is bubbling , {From the parent to child}
@mswondo
@mswondo Жыл бұрын
@@davidhusted817 I think its not necessary. Because if the anchor is a link with href, so its not have sub menu on it. So its a reguler link thats no need to stop the event bubble. But if the anchor has sub menu, its no need href so no event need to listener. An anchor automatic have behaviour that focused when after clicked. If we want to ensure that, we can use attribute : tabindex="0". So focus-within will automatically show or hidden sub menu.
@smartgadgets5996
@smartgadgets5996 11 ай бұрын
Hello.. please make a video auto slide image... I dont get what they teach..you are a good teacher and teach the simple understanding way for us.. thank you
@ThomasIkemann
@ThomasIkemann 10 ай бұрын
04:50 I did not know you can do something like that, thank you!
@zahid1909
@zahid1909 10 ай бұрын
You are a real Master, bro! Respect!!
@okhakhugaruba8551
@okhakhugaruba8551 4 ай бұрын
Thank you for this lecture. It really helped me ❤
@tomyshalpy
@tomyshalpy 2 ай бұрын
simple explantion thank you
@_izro_
@_izro_ 9 ай бұрын
Best Explanation Love From Pakistan
@FrederikWoellert
@FrederikWoellert 6 күн бұрын
Nice Video.
@jgiixom
@jgiixom 7 ай бұрын
Bro, u r the best!
@khalidelgazzar
@khalidelgazzar 5 ай бұрын
Great lesson. Thank you
@mariafortes1133
@mariafortes1133 7 ай бұрын
Thanks for the video!
@RAKibHasan_351
@RAKibHasan_351 Ай бұрын
Thanks bro very helpful
@kineabmetasbia3021
@kineabmetasbia3021 Ай бұрын
THE BEST THERE IS
@kavishkaimalsha9230
@kavishkaimalsha9230 2 ай бұрын
Grate video and thank you so much
@iopyrb
@iopyrb 4 ай бұрын
nice and simple 🔥
@daru3112
@daru3112 8 ай бұрын
thank you bro God bless
@eulersosa6840
@eulersosa6840 2 ай бұрын
Is it possible to change the fonts in drop down menus in Crome? Not using html.
@cs8529
@cs8529 11 ай бұрын
Thanks for sharing Bro.
@pyitheinkyawpyitheinkyaw
@pyitheinkyawpyitheinkyaw 4 ай бұрын
thank a lot sir .
@kell3rgeist
@kell3rgeist 9 ай бұрын
Thank you!!!!!!!💓💕💞💖💗💓
@DubZinio
@DubZinio 9 ай бұрын
ty so much dude lu
@CharlesWarugu
@CharlesWarugu 2 ай бұрын
Be blessed
@ruzalshrestha1998
@ruzalshrestha1998 8 ай бұрын
God bless u
@motivationda2067
@motivationda2067 2 ай бұрын
thank you
@danielleburchett6837
@danielleburchett6837 7 ай бұрын
Hello, do you know if this will work in a form in Squarespace? Squarespace has a form with a dropdown menu as an option, but I want the drop down menu to be searchable so when you start typing the dropdown menu will only display the words with those characters.
@vyvy3130
@vyvy3130 Жыл бұрын
Thanks you!
@HeroXI880
@HeroXI880 8 ай бұрын
bro what if we want to add icons on the drop down, can u please tell ?
@megcodm8961
@megcodm8961 4 ай бұрын
hey brother please help,i want to make a dropdown list on a navigation bar what do i do cuz whenever i make a div class its not working as it is insider the header section
@suyashman7964
@suyashman7964 Жыл бұрын
Epic bro
@xarloz3248
@xarloz3248 9 ай бұрын
what if i want to change the size all in all?
@hameeeed5992
@hameeeed5992 Жыл бұрын
Thanks
@birgersandman2662
@birgersandman2662 Жыл бұрын
Thanks bro
@alonneintokyo1821
@alonneintokyo1821 11 ай бұрын
he is a man of code
@Khodepp
@Khodepp Жыл бұрын
Hi can you tell me how can I move the drop-down menu to left(left of the button) it only goes right
@user-mo6yo4kz1m
@user-mo6yo4kz1m Жыл бұрын
in .dropdown a{ } try using display:inline-block;
@user-mo6yo4kz1m
@user-mo6yo4kz1m Жыл бұрын
it says the video was released 9 days ago and yalls comments are months old 💀
@Yumiesthetic
@Yumiesthetic Жыл бұрын
it was unlisted then went to public again according to some comment
@mephistergt3614
@mephistergt3614 11 ай бұрын
Lol yea, I saw comments 5 months ago but the video is uploaded 2 month ago 😂
@itzyuzuruclips
@itzyuzuruclips 9 ай бұрын
Damm
@jidanmaulanas.103
@jidanmaulanas.103 11 ай бұрын
Thanks sir🫡
@yasotube
@yasotube Жыл бұрын
Didn't know that 😅
@CầnbiếtKo-k5i
@CầnbiếtKo-k5i Жыл бұрын
tao không hiểu tiếng anh
@minicinnibun
@minicinnibun 11 ай бұрын
i luv u
@ΕγωΕγω-ρ6ω
@ΕγωΕγω-ρ6ω Жыл бұрын
,👌👌👌👌👌👌👌👌👌👌👌👌👌👍👍👍👏👏
@pjunior6865
@pjunior6865 11 ай бұрын
thanks
How to create a CSS navigation bar in 6 minutes! 🧭
6:28
Bro Code
Рет қаралды 342 М.
Pure HTML and CSS drop down navigation bar
11:13
Web Master
Рет қаралды 283 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 914 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 183 МЛН
Simple Dropdown Menu Using HTML & CSS - EASY TUTORIAL
9:41
Devression
Рет қаралды 58 М.
Learn CSS in 1 hour 🎨
1:00:00
Bro Code
Рет қаралды 1,2 МЛН
React forms: select and textarea
7:07
WebDev 1x1
Рет қаралды 46
Learn CSS flexbox in 10 minutes! 💪
10:01
Bro Code
Рет қаралды 178 М.
Responsive Mega Menu and Dropdown Menu using only HTML & CSS
15:11
CodingNepal
Рет қаралды 111 М.
10 CSS PRO Tips and Tricks you NEED to know
9:00
Coding2GO
Рет қаралды 89 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,6 МЛН
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
How To Make Drop Down Menu Using HTML And CSS
8:37
Light Code
Рет қаралды 410 М.