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

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

2/14/2020 6:25:34 AM

Mohammad

6 Answers

New Answer

+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

+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

+2

//Mohammad it's working perfectly

0

It still not work

0

I found the problem

0

U give a options to ur nav