.mdtags{
position:fixed;
display:flex;
flex-direction:column;
height:calc(100% - 50px);
width:200px;
left:calc(50% - 150px);
top:40px;
background:lightblue;
}
.partc{
background:gold;
overflow-y:scroll;
}
<div class='mdtags'>
<div class='parta'>323</div>
<div class='partb'>525</div>
<div class='partc'>727</div>
</div>
How can I keep partc
(gold color) height always to the bottom of parent?
It already has overflow-y - scroll
and I want to store a larg amount of data inside, but when some data ara hidden by javascript - it should not change its height.