JSFiddle - React, Tailwind, and code Playground
HTML
<div id="head">
<div class="control-buttons-container">
<button class="control-button">some button text</button>
<button class="control-button">proceed with this button</button>
<button class="control-button">Seth Rollins, WWE Champion</button>
</div>
</div>
<div id="body">
<div class="control-buttons-container">
<button class="control-button">proceed with this button</button>
<button class="control-button">Seth Rollins, WWE Champion</button>
</div>
</div>
<div id="foot">
<div class="control-buttons-container">
<button class="control-button">Seth Rollins, WWE Champion</button>
</div>
</div>
CSS
.control-buttons-container {
margin-left: 1.5px;
margin-right: 1.5px;
display: flex;
}
.control-button {
background-color: #0E80B4;
color: white;
outline: none;
border: none;
height: 73px;
width: 128px;
margin: 3px auto;
}
.control-button:hover {
background-color: #3FA9DB;
}
#head {
border: 1px solid red;
position: absolute;
left: 0;
width: 396px;
height: 80px; /* this is 100 PX not % */
}
#body {
border: 1px solid red;
position: absolute;
bottom: 40%;
left: 0;
width: 396px;
height: 80px; /* this is 100 PX not % */
}
#foot {
border: 1px solid red;
position: absolute;
bottom: 0;
left: 0;
width: 396px;
height: 80px; /* this is 100 PX not % */
}