I am currently revamping a friend's website and trying to reduce the amount of white space on larger screens. One idea I have is to switch one of the static nav bars from horizontal to vertical on larger screens, and then back again to horizontal on smaller screens. I am unsure about what code would be required to achieve this effect. Can it be done using only CSS or would JS/C# be necessary?
I have already created both versions of the navbar, so it's just a matter of determining when each should be displayed. Please refer to the attached photos.