JSFiddle - React, Tailwind, and code Playground
HTML
<div class="page">
<div class="A">
</div>
<div class="B">
<div class="C">
</div>
<div class="D">
<img src="http://res.freestockphotos.biz/pictures/10/10677-illustration-of-a-red-lobster-pv.png"/>
</div>
</div>
</div>
CSS
div {
box-sizing: border-box;
}
.page {
width: 100%;
height: 250px;
border: solid 1px black;
margin: 5px;
background-color: lightYellow;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
}
.A {
background-color: lightPink;
margin: 5px;
flex: 0 0 50px;
}
.B {
background-color: lightBlue;
margin: 5px;
flex: 1 1 0;
min-height: 80px;
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: space-between
}
.C {
background-color: lightGreen;
margin: 5px;
flex: 1 1 0;
min-width: 100px;
}
.D {
background-color: lightGrey;
margin: 5px;
flex: 1 1 0;
min-height: 50px;
display: flex;
justify-content: flex-end;
}
.D img {
flex: 1 1 0;
max-height: 100%;
max-width: 200px;
object-fit: scale-down;
object-position: top right;
}