I have a <ul>
that has a fixed height and I need the <li>
's inside it to stack at the bottom (instead of the top).
I tried vertical-align: bottom
on the <ul>
but that doesn't change anything.
The content li
have a chance of overflowing, and if they do I need the scrollbar to work.
ul {
border: 1px solid red;
height: 250px;
vertical-align: bottom;
}
li {}
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
</ul>
JsFiddle: https://jsfiddle.net/hbcnvk4s/
Thanks !