Animated Custom Hamburger Icon in Navbar in bootstrap 5 (with a gradient)

  Рет қаралды 39,164

A Designer Who Codes

A Designer Who Codes

Күн бұрын

Пікірлер: 60
@ADesignerWhoCodes
@ADesignerWhoCodes 3 жыл бұрын
** Whoops! I made a mistake ** Head's up everyone. I made an error in my coding. This version works in Chrome but not Safari. Here's the patch for it: github.com/haydn5/animated-navigation-safari-fix/blob/main/custom.css The error was using margin-top instead of position: absolute and then top. I've provided the files gratis via Git Hub. Kudos to a subscriber for pointing out the error. Thanks, Haydn
@brosquadyt4391
@brosquadyt4391 2 жыл бұрын
This is also not working brother.. Please make sure once again and can't we build this for all web browsers with same code?? I'm new here.. Help me out thanQ 🙂
@philippenewman
@philippenewman 2 жыл бұрын
Urgh. I don't have browserstack, nor a mac at the house. LOL. I'm surprised either version of your CSS would conflict with Safari. Hoping the updated one works. :||
@andohfrancis9353
@andohfrancis9353 2 жыл бұрын
Thanks
@tektektuktuk4086
@tektektuktuk4086 Жыл бұрын
is this the best way to make toggle icon?
@RobertSebestyen-dk1gq
@RobertSebestyen-dk1gq Жыл бұрын
BUG spotted: if you click the toggler icon and then refresh the page it refrehes to a collapsed navbar with a X icon. Solution: . You need to write the class name "collapsed" in "button line".
@kruzM18
@kruzM18 Жыл бұрын
Thank you! this helped me!
@robyngalea
@robyngalea Жыл бұрын
Thank you, I had the same problem and was hoping someone had mentioned this. Your fix fixed my problem too.
@teodorgorka
@teodorgorka Жыл бұрын
Thanks for the effort, I wouldn't figure it out! :)
@jamescyber5075
@jamescyber5075 Жыл бұрын
Thank you so much!
@SharvinKhanal
@SharvinKhanal 8 ай бұрын
thanks
@philippenewman
@philippenewman 2 жыл бұрын
I'm grateful that my 10 years dated web education allows me to actually follow along with this. ;D Great tutorial!
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You are very welcome.
@lachlanwilliams5818
@lachlanwilliams5818 11 ай бұрын
You are the best! Take my up vote!
@ekikei
@ekikei Жыл бұрын
you just saved my school project, thank you
@NotPolloz
@NotPolloz 3 жыл бұрын
Thank you for making this video! Saved me a lot of time.
@ADesignerWhoCodes
@ADesignerWhoCodes 3 жыл бұрын
You're welcome Rayhan. Glad to hear it helped.
@venugopal-in6im
@venugopal-in6im 3 жыл бұрын
Thanks alot for the clean and beautiful code
@ADesignerWhoCodes
@ADesignerWhoCodes 3 жыл бұрын
You are very welcome.
@venugopal-in6im
@venugopal-in6im 3 жыл бұрын
@@ADesignerWhoCodes Can you please tell me how can i be a good web developer, Thanks in advance
@gabrielmadej3196
@gabrielmadej3196 2 жыл бұрын
Thank you for your help. I have just gotten started with bootstrap.
@abdulbasitsalah2918
@abdulbasitsalah2918 Жыл бұрын
thank you, sir, it really helped me.
@madushandesilva142
@madushandesilva142 Жыл бұрын
Thanks! This really helped.
@lehlohonologlenton2680
@lehlohonologlenton2680 2 жыл бұрын
On iPad the toggle button is just a single line, how one fix this issue?
@AhmedKhaled-fk2zc
@AhmedKhaled-fk2zc 3 жыл бұрын
This helped me so much, thanks alot!
@creacionesbrunila
@creacionesbrunila 2 жыл бұрын
no hay forma de hacerlo con : ? que sea mas facil ? y solo con boostrap ?gracias
2 жыл бұрын
Thanks for this amazing tutorial !
@retoulrich3137
@retoulrich3137 2 жыл бұрын
Thank you, it works wunderful. How must the CSS be extended if I still want to do the following: When the button is clicked, I want the navbar to go to the full width and full height of the browser window, the background color (now gray) to be orange, the transparency of the background round to be 50% and the background behind the navbar to be blurred. If the toggler icon doesn't appear (expand-lg) the navigation should stay as it is, horizontally side by side. I tried so many things, but nothing worked. Can you support here at best?
@jeevankamble9791
@jeevankamble9791 Жыл бұрын
I am very happy sir 🤩🤩🤩thank you, sir❤❤❤
@md.arifhosain3461
@md.arifhosain3461 6 ай бұрын
Excellent♥
@jamescyber5075
@jamescyber5075 Жыл бұрын
Thank you so much!
@manuict4916
@manuict4916 Жыл бұрын
Hello congratulations for tutorial can you do another tutorial like this and try menu completly different. For example menu shape circle button and widescreen menu. Or side menu etc. Because I would like to create different menu.
@cecileniess9003
@cecileniess9003 2 жыл бұрын
Merci pour votre vidéo cela ma énormément aider :)
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
What do you mean by things getting in the way around 6:00?
@danka-video
@danka-video Жыл бұрын
.toggler-icon { display: block; position: absolute; height: 3px; width: 100%; background: $white; border-radius: 1px; left: 0; top: 10px; transform: rotate(0deg); transition: .2s ease-in-out; } If you put top: 10px ; it looks much better when its switch from hamburger to X. Anyway THX
@nerdycoder23
@nerdycoder23 Жыл бұрын
I tried the exact code but it didn't work, anyone faced same issue like me ?
@Adnan_19946
@Adnan_19946 Жыл бұрын
BUG spotted: if you click the toggler icon and then refresh the page it refrehes to a collapsed navbar with a X icon
@ADesignerWhoCodes
@ADesignerWhoCodes Жыл бұрын
Ya. I put in a fix in the comments. It's tricky one. And I don't know if Bootstrap might change the setup.
@dafera
@dafera 2 жыл бұрын
Great video man, but i wanted to make the menu to only appear when i click the button, this way the button only appears if i minimize the page
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
What do you use to change to mobile view? ctrl+shift+i to inspect right? But it doesn't give me mobile view.
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
I do control + click and inspect to get mobile view. Their could be an additional keyboard shortcut
@ShuvoMallick
@ShuvoMallick Жыл бұрын
Thank you
@geniusbrother2234
@geniusbrother2234 2 жыл бұрын
for giving the code i subscribe you.
@essentialaffiliatemarketing
@essentialaffiliatemarketing 2 жыл бұрын
Great video, but instead of using opacity and filter on the middle bar why not use display none?
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
That also works. I just went with opacity in this instance.
@briseisselene3042
@briseisselene3042 8 ай бұрын
Hello ! for me ".navbar-toggler .middle-bar { opacity: 0; filter: alpha (opacity=0); }" doesn't work at all, help me please ?
@maciejpawlik5821
@maciejpawlik5821 2 жыл бұрын
This one i awesome, thank You
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You are so welcome. Glad it helped ya.
@MRPIANO-my1kt
@MRPIANO-my1kt 2 жыл бұрын
awesome 👍
@ClippyWulf
@ClippyWulf 2 жыл бұрын
thx for the insight :D
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You're very welcome.
@shazimulkaif1103
@shazimulkaif1103 2 жыл бұрын
love it
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You are so welcome.
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
I feel like I missed something. Is middle-bar something from bootstrap or css?
@danielj6394
@danielj6394 Жыл бұрын
Thanks
@supratimchoudhury1492
@supratimchoudhury1492 Жыл бұрын
sir with due respect i thought you would explain the individual terms and not just write those classes without explaining what those terms really meant.. what does navbar toggler, data bs toggle collapse means??????????????????? HOW THESE CLASSES INTERACT WITH EACH OTHER TO GIVE THE HAMBURGER MENU ITS EFFECT ? and what are the functions of these classes : - WHAT NAVBAR COLLPASE IS DOING AND WHAT COLLAPSE ROLE IS? SIR CAN YOU KINDLY EXPLAIN IN ANOTHER VIDEO THE ROLES OR FUNCTIONS OF THESE CLASSES SO THAT THEY DONT APPEAR AS FOREIGN LANGUAGES TO ME??? THANKS
@raimundoneto4557
@raimundoneto4557 2 жыл бұрын
nice..
@omidhabib7453
@omidhabib7453 2 жыл бұрын
🌹🔥
@Pongant
@Pongant 3 ай бұрын
_hacks bootstrap_
Bootstrap 5 Navbar Tutorial
13:57
A Designer Who Codes
Рет қаралды 127 М.
How To Change the Color of the Bootstrap 5 Mobile Menu Icon
6:19
A Designer Who Codes
Рет қаралды 35 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Bootstrap 5 Crash Course | Website Build & Deploy
1:18:48
Traversy Media
Рет қаралды 1,1 МЛН
How To Build An Animated Hamburger Menu With Only CSS
24:05
Web Dev Simplified
Рет қаралды 117 М.
Responsive navbar tutorial using HTML CSS & JS
49:25
Kevin Powell
Рет қаралды 1 МЛН
Navbar Bootstrap 5 |  Bootstrap Navbar Tutorial
17:59
Adrian Twarog
Рет қаралды 264 М.
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
Learn how to create pixel perfect icons in Figma!
17:29
AM Design
Рет қаралды 41 М.
How to create a Responsive Navigation Bar (for beginners)
15:21
Coding2GO
Рет қаралды 499 М.
Vertically Aligned Bootstrap Cards (and it's responsive too!)
15:06
A Designer Who Codes
Рет қаралды 10 М.
RESPONSIVE Bootstrap 5 Cards
8:19
A Designer Who Codes
Рет қаралды 106 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН