Example:
.left {
width: calc(50% - 10px);
float: left;
}
.right {
background-color: green;
width: calc(50% - 10px);
float: right;
height: 100px;
}
<div class="container">
<div class="title">Title</div>
<div class="inner-container">
<img
class="left"
src="http://mirrors.mi.ras.ru/CTAN/macros/latex/contrib/incgraph/exaimage-0001.png"
/>
<div class="right"></div>
</div>
</div>
Is there a way to make div.right
to fill 100% of div.inner-container
's height?
Here's codesandbox if you don't like SO.