Home > Software design >  How to make my navigation responsive menu
How to make my navigation responsive menu

Time:06-20

Hello dear StackOverflow community,

I've been struggling with how to learn to make the navigation responsive by using media query my intention was to make the navigation menu turn to a vertical style with the navbar. Could you also please provide me with the particular rule that transforms the nav menu from horizontal to vertical?

Thank you in advance

index.html

styles.css

CodePudding user response:

look at this weblink

https://www.w3schools.com/howto/howto_js_topnav_responsive.asp

I hope this will help you

CodePudding user response:

You'll want two navs to start, a horz and vert. Use the media queries to display one or the other.

Once that is working, backup the code (or commit if using git), then refactor both navs into one.

.

  • Related