Why my sticky navbar is not work? | Sololearn: Learn to code for FREE!


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

2/14/2020 6:25:34 AM


6 Answers

New Answer


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


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


//Mohammad it's working perfectly


It still not work


I found the problem


U give a options to ur nav