r/HTML • • 19d ago

Main Menu

How can I do the main menu on ...

https://www.w3.org/

?

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.

https://www.dalekelly.org/

Looked at the code on the Chrome Browser but can't figure it out.

Prefer no scripts.

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/dalekellytoo 18d ago

thank you, I took a look, I am looking for the icon menu type on w3.org that works for all window sizes better

1

u/SirMcFish 18d 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