JSFiddle - React, Tailwind, and code Playground
HTML
<div id="divTop">divTop</div>
<div id="divBottom">divBottom
<div id="divCenter">divCenter</div>
</div>
CSS
html, body{
height:100%;
width:100%;
}
#divTop{
height:50px;
background:#008080;
color:#ffffff;
text-align:center;
vertical-align:middle;
}
#divBottom{
height:100%;
width:100%;
text-align:center;
vertical-align:middle;
border:thick solid blue;
}
#divCenter{
margin-left:auto;
margin-right:auto;
width:50vmin;
height:50vmin;
border:medium solid red;
white-space:nowrap;
text-align:center;
text-orientation:sideways-left;
writing-mode:tb-lr;
-ms-transform:rotate(270deg);
-webkit-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-o-transform: rotate(270deg);
}