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

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

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?
@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.
@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
@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.
@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?
@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?
@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
@AhmedKhaled-fk2zc
@AhmedKhaled-fk2zc 3 жыл бұрын
This helped me so much, thanks alot!
2 жыл бұрын
Thanks for this amazing tutorial !
@creacionesbrunila
@creacionesbrunila 2 жыл бұрын
no hay forma de hacerlo con : ? que sea mas facil ? y solo con boostrap ?gracias
@abdulbasitsalah2918
@abdulbasitsalah2918 Жыл бұрын
thank you, sir, it really helped me.
@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.
@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
@nerdycoder23
@nerdycoder23 Жыл бұрын
I tried the exact code but it didn't work, anyone faced same issue like me ?
@cecileniess9003
@cecileniess9003 2 жыл бұрын
Merci pour votre vidéo cela ma énormément aider :)
@jamescyber5075
@jamescyber5075 Жыл бұрын
Thank you so much!
@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.
@kingasaurio3597
@kingasaurio3597 2 жыл бұрын
I feel like I missed something. Is middle-bar something from bootstrap or css?
@md.arifhosain3461
@md.arifhosain3461 6 ай бұрын
Excellent♥
@jeevankamble9791
@jeevankamble9791 Жыл бұрын
I am very happy sir 🤩🤩🤩thank you, sir❤❤❤
@geniusbrother2234
@geniusbrother2234 2 жыл бұрын
for giving the code i subscribe you.
@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.
@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.
@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
@ShuvoMallick
@ShuvoMallick Жыл бұрын
Thank you
@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.
@MRPIANO-my1kt
@MRPIANO-my1kt 2 жыл бұрын
awesome 👍
@danielj6394
@danielj6394 Жыл бұрын
Thanks
@omidhabib7453
@omidhabib7453 2 жыл бұрын
🌹🔥
@raimundoneto4557
@raimundoneto4557 2 жыл бұрын
nice..
@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 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Navbar CSS Tutorial: 3 Ways to Create a Navigation Bar with Flexbox
15:08
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,8 МЛН
Navbar Bootstrap 5 |  Bootstrap Navbar Tutorial
17:59
Adrian Twarog
Рет қаралды 264 М.
2,000 People Fight For $5,000,000
24:45
MrBeast
Рет қаралды 64 МЛН
Top 10 Advanced CSS Responsive Design Concepts You Should Know
20:16
Web Dev Simplified
Рет қаралды 544 М.
Bootstrap 5 Crash Course | Website Build & Deploy
1:18:48
Traversy Media
Рет қаралды 1,1 МЛН
RESPONSIVE Bootstrap 5 Cards
8:19
A Designer Who Codes
Рет қаралды 106 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 731 М.
Responsive navbar tutorial using HTML CSS & JS
49:25
Kevin Powell
Рет қаралды 1 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН