BrianC987
BrianC987

Reputation: 181

How to evenly space unordered listed items vertically to the browser window

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

Answers (1)

Taufik Akbar
Taufik Akbar

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

Related Questions