#outer-wrapper
{
background-color: #585858;
width: 200px;
height: 200px;
}
#inner-wrapper
{
background-color: #111858;
width: 50px;
height: 100%;
}
<div id="outer-wrapper">
content 1
<div id="inner-wrapper"></div>
</div>
If I want to set a remaining height of the outer div to the inner div, how can I achieve that? The issue arises when I assign 100% height to the inner div, making its height equal to the outer div.