I need some help/feedback on my technical documentation page here.
I’m struggling a bit on the responsiveness of it, in particular the navbar on top.
I tried to play around with some media queries but this is the best I could get out of it.
From looking online, I understand that to make a cool looking dropdown navbar for smaller screens you’ll need bootstrap, but I’m still going through my HTML/CSS course so I know nothing about that.
Is there another way to make it look better on smaller screens?
Also any feedback on the overall project will be much appreciated.
I’ll try and do the CSS only version you sent me as I don’t know Javascript yet.
As for the spanning of the links, I believe I made them take up like 90% of the space because I liked to see the border radius on them, but apparently not a great choice fo accessibility
You did set the a elements to display block but because the li containers are flex containers they shrink the content down. You can set flex: 1 on the a elements to let them grow.
#navbar a {
flex: 1;
}
I might also suggest a bit of padding on the links to make them easier to click (larger click target).