Div with min-height and the child div have the height of parent.
Is it possible with only CSS or javascript is needed?
Example:
#main {
min-height: 300px;
width: 100%;
}
#menu, #content {
float: left;
width: 50%;
}
#menu {
height: 150px;
background-color: red;
}
#content {
height: 100%;
background-color: green;
}
<div id="main">
<div id="menu">menu</div>
<div id="content">content</div>
<div>