I’d like to make a navbar menu which is positioned under a section (position: auto) but will get sticky when scrolled down (position: fixed). Is there a way to do this without JS? I thought about making two menus (one auto and the other fix to top) and use interaction to make them show/hide, but then I’ll have two different menus, which is not nice. Any better idea?
Thank you, Asaf Lupo