0

Why my sticky navbar is not work?

I want just creat sticky have bar with HTML an css with position:sticky but it isn't work Can anyone help me? This my code https://code.sololearn.com/WFRX8N1sVIsk/?ref=app

14th Feb 2020, 6:25 AM
Mohammad
Mohammad - avatar
6 Réponses
+ 3
Mohammad check the code what I had linked here. If still have some questions please explain what is question? Probably I did not understand your question . https://code.sololearn.com/WtgLke4xHA0c/?ref=app
14th Feb 2020, 7:47 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 3
top:0; top:100px; Your navbar is sticky at top 0. I have done some changes now it will be sticky at 100px https://code.sololearn.com/WtgLke4xHA0c/?ref=app
14th Feb 2020, 6:33 AM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar
+ 2
//Mohammad it's working perfectly
14th Feb 2020, 8:18 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
It still not work
14th Feb 2020, 7:44 AM
Mohammad
Mohammad - avatar
0
I found the problem
14th Feb 2020, 8:24 AM
Mohammad
Mohammad - avatar
0
U give a options to ur nav
14th Feb 2020, 9:29 AM
JAYANTHI SAI GOPAL
JAYANTHI SAI GOPAL - avatar