<div class="container">
<div class="item item--1">
Item 1
</div>
<div class="item item--2">
Item 2
</div>
<div class="item item--3">
Item 3
</div>
</div>
.container {
place-content: space-between end;
}
/* ETC (Formatting only): */
body {
margin: 1.5em;
font-size: 130%;
font-family: sans-serif;
background: #F2F0EC;
color: #2E2C08;
}
.container {
border: 10px solid #2E2C08;
background: white;
display: grid;
grid-template-columns: repeat(2, 5em);
height: 20em;
}
.item {
padding: 1em;
text-align: center;
background: #abab9d;
font-weight: bold;
height: 3em;
width: 3em;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.