Bootstrap 5 Navbar Link Underline on Hover

  Рет қаралды 40,399

ByteGrad

ByteGrad

Күн бұрын

Пікірлер: 31
@UsaidOk
@UsaidOk Жыл бұрын
Thank you,Really Help full for me
@key_news9985
@key_news9985 2 жыл бұрын
Your explanation is better than my teacher and it's more easier to understand
@artemblinkov2241
@artemblinkov2241 Жыл бұрын
I have a link with a dropdown menu, and for some reason, it gets double underline which looks weird. Any suggests on how to fix it? Thanks for the video, by the way!
@zinebtlaiha9573
@zinebtlaiha9573 Жыл бұрын
Thanks again. Your tutorials are very helpful
@husteldev007
@husteldev007 Жыл бұрын
thank you so much
@MagnusAnand
@MagnusAnand Жыл бұрын
Two comments: 1. In small screens it doesn't look good because the underline covers all the bar and not just the text. Can you check this? 2. Can't you just get a similar effect with the nav-underline class?
@orlandolajara3452
@orlandolajara3452 Жыл бұрын
Just apply a @media rule: @media (min-width: 768px) { .nav-link:hover { /* Styles for hover state on larger screens */ } } Inside that insert all your code for the hover effects.
@orlandolajara3452
@orlandolajara3452 Жыл бұрын
By the way you will need to change the 768px to 1000px
@shangharshadhikari8319
@shangharshadhikari8319 Жыл бұрын
To solve this issue, you can add "d-inline-block" to the element, which means the underline will cover the width same as width of text. Don't forget to add Bootstrap cdn. Thank me later!!.
@yerfive7795
@yerfive7795 Жыл бұрын
Thank you so much
@codewithravi8549
@codewithravi8549 2 жыл бұрын
Thank very much it helps me a lot.make more videos on different topics.Radhe-Radhe.
@Truestory-1212
@Truestory-1212 Жыл бұрын
iu use bootsrap nav bar and this not working for this but the color is changing that is already in the bootsrap so underline isnt working for me what can i do
@increment-
@increment- Жыл бұрын
How can I only apply the hover effect on large size screens, not on tablets or smaller screens. Thanks for the video!
@orlandolajara3452
@orlandolajara3452 Жыл бұрын
Just apply a @media rule: @media (min-width: 768px) { .nav-link:hover { /* Styles for hover state on larger screens */ } } Inside that insert all your code for the hover effects.
@orlandolajara3452
@orlandolajara3452 Жыл бұрын
By the way you will need to change the 768px to 1000px
@katerinamozhaeva8885
@katerinamozhaeva8885 9 ай бұрын
Thank you!!!!
@guillermomazzari4983
@guillermomazzari4983 Жыл бұрын
the transition is not working as expected, dont know why, everything else works perfectly
@nevinzachariah1222
@nevinzachariah1222 2 жыл бұрын
Why hover effect is not working for a tag
@Umerkhan2.0
@Umerkhan2.0 Жыл бұрын
thank you so much Sir, good job.
@UsaidOk
@UsaidOk Жыл бұрын
This lg device Good,But sm device over width issue ,That one reason
@hoomansalimi172
@hoomansalimi172 Жыл бұрын
Great 🙏
@zulkiizsukesada4984
@zulkiizsukesada4984 2 жыл бұрын
its not working for me, i will just have 1 long underline under the navbar
@ByteGrad
@ByteGrad 2 жыл бұрын
Make sure you used position: relative too on the .nav__link (so the one without ::after)
@zulkiizsukesada4984
@zulkiizsukesada4984 2 жыл бұрын
@@ByteGrad can i send you my code as a pastebin ?
@zulkiizsukesada4984
@zulkiizsukesada4984 2 жыл бұрын
@@ByteGrad dunno what i did wrong first time, but now its working! great tutorial :)
@ByteGrad
@ByteGrad 2 жыл бұрын
@@zulkiizsukesada4984 Great!
@raauger
@raauger Жыл бұрын
Thanks! that worked for me.@@ByteGrad
@ajaymaliya665
@ajaymaliya665 5 ай бұрын
simply use that link-underline-danger
@ByteGrad
@ByteGrad 2 жыл бұрын
Hi, mastering CSS is critical as a front-end developer: www.udemy.com/course/professional-css/?referralCode=4C3C08E82629E6B15752 Also, mastering JavaScript is critical if you want to be a modern, professional developer: www.udemy.com/course/professional-javascript-course/?referralCode=0C1D5752923168BC87C2
@ImHansana123
@ImHansana123 Жыл бұрын
What if i want to show that underline on the active state (.nav-link.active) ?
@ImHansana123
@ImHansana123 Жыл бұрын
No worries i found it - .nav-link.active::after { opacity: 1; }
Use Spinner and Create Page Loader in Bootstrap 5
8:23
ByteGrad
Рет қаралды 19 М.
Navbar Bootstrap 5 |  Bootstrap Navbar Tutorial
17:59
Adrian Twarog
Рет қаралды 266 М.
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Animated Navigation Menu Bar using HTML CSS | Menu Hover Animation
5:43
Active Nav Link Indicator with Vanilla Javascript
5:56
Coding in Public
Рет қаралды 127 М.
Bootstrap 5 responsive mega menu on hover
3:46
Dev Machine
Рет қаралды 38
Bootstrap 5 Transparent Navbar to Solid Color on Scroll
6:35
Animated Custom Hamburger Icon in Navbar in bootstrap 5 (with a gradient)
19:18
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,8 МЛН
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 М.
Bootstrap Navbar Hover Effect (underline animation)
4:19
Coding Yaar
Рет қаралды 6 М.
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН