I’m working on technical documentation project. I’m far from done but one thing I’m having trouble getting sorted out is related to the navbar. I would like it to function like the example here:
I’ve tried @media, different positions, etc, but can’t seem to get the navbar to stay on the left side in large browser and then move to the top when the browser is is made smaller. Here is the link to my code:
If you look at my link now, I was able to get the navbar to adjust so the main body isn’t covered by the bar when the browser size is changed. I used an @media - Yes! That was bugging me. I think I’m going to keep like this, however, I am curious how the template (first link above) pushed the nav bar to the top and the content to the bottom when the browser window was made smaller.