JSFiddle - React, Tailwind, and code Playground
HTML
<div class="Grid Grid--top">
<div class="Grid-cell Grid-cell--center Grid-cell--image">
<div id="productImages">
<img id="productImage0" class="productImages" src="http://placehold.it/450x1550" />
</div>
</div>
<div class="Grid-cell Grid-cell--center u-1of3">
2. Section
</div>
</div>
CSS
.Grid {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.productImages {
max-height: 100vh;
}
body {
margin: 0px;
}
* {
box-sizing: border-box;
}