Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1307

CSS/JS Website working perfectly fine on desktop but not working correctly on mobile

$
0
0

I made a simple website where i wanted to hide and show div using jseverything works fine on desktop, even when the window is reducedBut when i try it on mobile the navigation bar start to work in really strange way and sometimes it even make another part of the website disappear

i really don't know where i am doing wrong

here is the complete code https://codepen.io/Giacomo-Petralia/pen/wBwVVOr

i should have a functioning menu but it is not really usable in mobile because everything lose the place i wantedi think there is some problem with the css, maybe with

display: flex;

and also with

position: sticky;

please help me understand what is wrong here


Viewing all articles
Browse latest Browse all 1307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>