I'm trying to understand how flex-inline works. I want to make the height expand to 100% and reach the bottom of the screen without overcrowding it with content.
html,body{margin:0;padding:0}
body{background:black;}
#sidebar{
display: inline-flex ;
flex-direction: column;
border:5px solid blue;
background:white;
width:20%;
text-align:center;
list-style: none;
}
span {color:blue;
position:relative;
}
<body>
<div id=sidebar>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
</div>
<span>hello</span>
</body>