Reputation: 181
I have a side menu bar that will have a different number of listed items depending on which page is displayed. How can I evenly space the listed items vertically to the browser's window using?
Upvotes: 2
Views: 44
Reputation: 336
Depending on your browser support spec, you can use display: flex
on the container. Here's a fiddle
Here is a reference about flexbox (A Complete Guide to Flexbox)
Upvotes: 2