Guys I m trying to make the nav bar like flow with the page when the page scrolls I want it to scroll with it too not disappear | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Guys I m trying to make the nav bar like flow with the page when the page scrolls I want it to scroll with it too not disappear

<!-- Navigation --> <nav class="navbar text-white"> <div class="container"> <a class="navbar-brand" href="#">Crypto-Index</a> <a class="btn btn-primary" href="#">Sign In</a> </div> </nav>

28th Jun 2019, 7:05 AM
Timmy junior Okirika
Timmy junior Okirika - avatar
2 Réponses
+ 3
I'm not 100% clear whatyou mean but if you mean you want it to stay at the top of the page when the content scrolls, you need to style it as position: fixed. If that's not what you mean, can you share an example?
28th Jun 2019, 7:10 AM
Rincewind
Rincewind - avatar
+ 2
Rincewind that's it 💪🖤
28th Jun 2019, 7:12 AM
Timmy junior Okirika
Timmy junior Okirika - avatar