+ 1
How to stop menu bar on the top while scrolling up the webpage?
when we scroll webpage up then menu bar also scroll with page, but i want to stay menu bar at the top when scrolling the webpage?
4 Respuestas
+ 2
try position: fixed
+ 1
with fixed rest of the content gets overlapped when scrolling. (At least when i tried) Try using sticky).
0
It sounds like you want the menu bar to NOT scroll with the rest of the page.... in this case try using
position: absolute
In your menu’s CSS.
0
Let me know if that works for you :)