0

How can I make the navigation bar sticky?

https://code.sololearn.com/WQxkvVREn9mS/?ref=app

22nd Oct 2017, 8:46 AM
B.D
B.D - avatar
2 ответов
+ 4
Try to add this ul { position: fixed; width: 95%; } https://code.sololearn.com/We35Ps96vbD4/?ref=app
22nd Oct 2017, 9:19 AM
Calviղ
Calviղ - avatar
+ 2
https://www.w3schools.com/howto/howto_js_navbar_sticky.asp Try this... it's easy to understand
22nd Oct 2017, 8:48 AM
RanjOyHunTer
RanjOyHunTer - avatar