Is it possible with the latest in CSS to get a flexible height div (a) and a div (b) which stretches to fill the page?
Something in the line of :
div.a { height: calc(100% - div.a.height); }
body {
background-color: #FEFEFE;
}
div {
padding: 20px;
margin: 10px;
border: 4px solid black;
width: 100px
}
div.a {
background-color: #278dae;
}
div.b {
background-color: #409b24;
/*height: calc(100% - div.a.height); <-- this */
}
<body>
<div class="a">a</div>
<div class="b">b</div>
</body>