JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="head">
<p>Header content</p>
</div>
<div class="body">
<div class="inner">
<div class="inner-content">
<p>The image to the right is normally 253px high/wide</p>
</div>
<div class="inner-image">
<img src="http://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg">
</div>
</div>
</div>
<div class="foot">
<p>Footer Content</p>
</div>
</div>
CSS
.wrapper {
display: flex;
flex-direction: column;
border: 1px solid black;
width: 400px;
}
.head {
background-color: rgba(200,100,100,1);
}
.body {
background-color: rgba(200,200,200,1);
}
.inner {
display: flex;
flex-direction: row;
}
.inner-content {
flex: 1 1 75%;
}
.inner-image {
flex: 1 1 25%;
}
.inner-image img {
border-radius: 50%;
max-width: 100%;
// http://jsfiddle.net/qgybon8q/2/
flex-shrink: 0;
// http://jsfiddle.net/mftnbk38/4/
//flex: 0 0 auto;
//object-fit: scale-down;
// https://connect.microsoft.com/IE/feedback/details/1218984/ie11-display-flex-issue
//flex: 1;
//
//max-width: calc( 100% - 0.1px );
}
.foot {
background-color: rgba(100,200,100,1);
}