i am making a navbar which has submenus and the submenus are triggered using a checkbox. when a submenu is triggered on mobile phones(in this case for gallery) it is supposed to push the items below it and appear in the normal document flow. but instead what happens is it overlays on top of the next item in the navbar. i have been at this for hours now. any help is appreciated
the website is
Ok, I was in the wrong view. i agree with @sulthanwf. Personally i would have just used a nested list and then show and hide the inner list. I find it easier to reason about that way (without the extra divs).