nav not working on mobile
When the nav is in mobile mode, the background doesn't show
https://codepen.io/RS_2009/pen/wvEmXgd?editors=1100
5 Replies
posted before but no reply
it can take a bit before people have a chance to respond
what's happening is that you have a lot of
position: absolute
in your layout that you really don't need. That pulls the element out of flow, which means that it doesn't have an intrinsic height anymore
I'd suggest removing honestly all the instances of position absolute and positioning stuff with just flexbox properties insteadas Jochem suggested use flex to layout stuff not position https://codepen.io/MannixMD/pen/jOvxqWL
ill hv to create this all over again but thanks
you might be able to bodge a fixed height on the UL, if you have to just get this done, but
position: absolute;
is really a last-resort type solution if you want to position something, especially if you want things to be responsive