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

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

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 2 жыл бұрын
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 9 ай бұрын
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 Жыл бұрын
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.
@lehlohonologlenton2680
@lehlohonologlenton2680 2 жыл бұрын
On iPad the toggle button is just a single line, how one fix this issue?
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
What do you mean by things getting in the way around 6:00?
@creacionesbrunila
@creacionesbrunila 2 жыл бұрын
no hay forma de hacerlo con : ? que sea mas facil ? y solo con boostrap ?gracias
@madushandesilva142
@madushandesilva142 Жыл бұрын
Thanks! This really helped.
@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?
2 жыл бұрын
Thanks for this amazing tutorial !
@abdulbasitsalah2918
@abdulbasitsalah2918 Жыл бұрын
thank you, sir, it really helped me.
@AhmedKhaled-fk2zc
@AhmedKhaled-fk2zc 3 жыл бұрын
This helped me so much, thanks alot!
@md.arifhosain3461
@md.arifhosain3461 8 ай бұрын
Excellent♥
@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
@jeevankamble9791
@jeevankamble9791 2 жыл бұрын
I am very happy sir 🤩🤩🤩thank you, sir❤❤❤
@jamescyber5075
@jamescyber5075 Жыл бұрын
Thank you so much!
@cecileniess9003
@cecileniess9003 2 жыл бұрын
Merci pour votre vidéo cela ma énormément aider :)
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
I feel like I missed something. Is middle-bar something from bootstrap or css?
@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.
@nerdycoder23
@nerdycoder23 Жыл бұрын
I tried the exact code but it didn't work, anyone faced same issue like me ?
@briseisselene3042
@briseisselene3042 9 ай бұрын
Hello ! for me ".navbar-toggler .middle-bar { opacity: 0; filter: alpha (opacity=0); }" doesn't work at all, help me please ?
@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
@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
@ShuvoMallick
@ShuvoMallick Жыл бұрын
Thank you
@manuict4916
@manuict4916 2 жыл бұрын
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.
@MRPIANO-my1kt
@MRPIANO-my1kt 2 жыл бұрын
awesome 👍
@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.
@geniusbrother2234
@geniusbrother2234 2 жыл бұрын
for giving the code i subscribe you.
@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
@shazimulkaif1103
@shazimulkaif1103 3 жыл бұрын
love it
@ADesignerWhoCodes
@ADesignerWhoCodes 3 жыл бұрын
You are so welcome.
@maciejpawlik5821
@maciejpawlik5821 2 жыл бұрын
This one i awesome, thank You
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You are so welcome. Glad it helped ya.
@ClippyWulf
@ClippyWulf 2 жыл бұрын
thx for the insight :D
@ADesignerWhoCodes
@ADesignerWhoCodes 2 жыл бұрын
You're very welcome.
@danielj6394
@danielj6394 Жыл бұрын
Thanks
@omidhabib7453
@omidhabib7453 3 жыл бұрын
🌹🔥
@raimundoneto4557
@raimundoneto4557 2 жыл бұрын
nice..
@Pongant
@Pongant 4 ай бұрын
_hacks bootstrap_
Vertically Aligned Bootstrap Cards (and it's responsive too!)
15:06
A Designer Who Codes
Рет қаралды 10 М.
How To Change the Color of the Bootstrap 5 Mobile Menu Icon
6:19
A Designer Who Codes
Рет қаралды 35 М.
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Bootstrap 5 Navbar Link Underline on Hover
4:41
ByteGrad
Рет қаралды 40 М.
Bootstrap 5 Navbar Tutorial
13:57
A Designer Who Codes
Рет қаралды 127 М.
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
RESPONSIVE Bootstrap 5 Cards
8:19
A Designer Who Codes
Рет қаралды 107 М.
Build Navbar Menus That Actually Work for Everyone
17:07
Coding2GO
Рет қаралды 23 М.
Navbar Bootstrap 5 |  Bootstrap Navbar Tutorial
17:59
Adrian Twarog
Рет қаралды 267 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,8 МЛН
Bootstrap 5 - Transparent Navbar Fixed
12:05
Web Zone
Рет қаралды 126 М.
Learn how to create pixel perfect icons in Figma!
17:29
AM Design
Рет қаралды 42 М.
Bootstrap 5 Slider With Text Animation | Responsive Homepage
10:37