Navbar Link Underline on Hover with CSS
HTML-код
- Опубликовано: 15 янв 2023
- 👉 NEW React & Next.js Course: bytegrad.com/courses/professi...
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). I'll help you master the latest tech here:
👉 NEW React & Next.js Course: bytegrad.com/courses/professi...
👉 Professional JavaScript Course: bytegrad.com/courses/professi...
👉 Professional CSS Course: bytegrad.com/courses/professi...
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): email.bytegrad.com
0:00 Solution
#webdevelopment #coding #programming - Наука
This is amazing, I was able to use it in my portfolio website, thank you!
This was really helpful. Many thanks. 🙇🏾🙇🏾💪🏾💪🏾
Great video! How would we get the bar to stay under when we click on the page? Example: if I click home, I want the bar to remain under there until I click a different link in the navbar
Thanks 😊 this was really helpful
How would I make the underline stay instead of transitioning out when clicked on an active link?
You should also show your html
"Thanks, it helps me a lot"
superb😍
Hi! Thank you so much for your amazing tutorial. I have a question regarding your CSS course. Is I will purchase your online tutorial how long will I have access to your courses, is there any limited time? TIA
No limit (unless I stop the company etc.)
thanks so easy and so helpfull
you saved me from my client
thank you!
thanks man
hey! having a little problem: when i set the width as 100%, it gets 100% of the viewport, and not 100% of the text. is there any way to solve this?
edit: just solved it! i forgot that the li HAS to be in a relative position. great video anyways!
I owe you big time
Also, if you have padding-right or left in your li's you need to use: width: calc(100% - *padding value, for example 3.3rem*); That was a problem that I had. The reason is because the aditional space created with the padding it's added to the total width of the li. Hope it helps.
@@matiasr.28 hey that's useful in this scenario! i'm currently using tailwind instead of plain CSS, however it's always nice to know these kinds of stuff
thanks