0

Why my menu button is hiding whenever I scroll

https://code.sololearn.com/Wvy5T0lwWMQ2/?ref=app Help me with this thank you .

16th Sep 2022, 9:48 AM
Kuro Chi
Kuro Chi - avatar
2 Answers
+ 4
I'm not good with front end development, but I believe it is because your navbar doesn't have a fixed position or is not sticky.
16th Sep 2022, 10:06 AM
Justice
Justice - avatar
+ 4
#navbar { position: sticky; top: 0px; background: currentColor; }
16th Sep 2022, 10:08 AM
CalviŐČ
CalviŐČ - avatar