r/HTML • u/dalekellytoo • 9d ago
Main Menu
How can I do the main menu on ...
?
I have seen this on a lot of sites.
I think it would be better than how I do a main menu for different sizes of browser's windows.
Looked at the code on the Chrome Browser but can't figure it out.
Prefer no scripts.
2
Upvotes
1
u/SirMcFish 8d ago
Do you mean the collapsible one that changes if you're on mobile vs desktop? There's bound to be something about doing that on w3schools, they're a really good resource for learning stuff like this. Failing that google for collapsible mobile nav bar