JSFiddle - React, Tailwind, and code Playground
HTML
<div class="cont">
<img src="http://www.quarktet.com/Icon-small.jpg" />
</div>
CSS
.cont {
background-color: grey;
position: fixed;
height: 100%;
width: 100%;
display: table;
}
img {
display: table-cell;
vertical-align: middle;
}