So I am trying to figure out a problem that I am having with my menu in mobile vs desktop. So I created a button that can toggle the visibility of the menu, but the behavior of the menu can also change based off the size of the browser window.
While in desktop the menu should be visible While in mobile the menu should be hidden
Here is a link to some sample code of what I have. If you load it up with the window wide enough, the menu will be displayed. Click the button it hides it, click it again and it shows it.
Aucun commentaire:
Enregistrer un commentaire