<div class="wrapper">
<div class="gold">1</div>
<div class="red">2</div>
<div class="blue">3</div>
</div>
.wrapper {
height: 225px;
font-family: monospace;
color: #fff;
border: 2px solid #ddd;
display: flex;
align-items: center;
}
.wrapper > div {
width: 17%;
padding: 16px;
text-align: center;
}
.gold {
background-color: gold;
height: 25%;
}
.red {
background-color: red;
height: 50%;
}
.blue {
background-color: steelblue;
height: 12%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.