<div class="container">
<div class="box box1"></div>
<div class="box box2"></div>
<div class="box box3"></div>
</div>
<style>
body {
background: #FADE8B;
display: grid;
place-content: center;
height: 100%;
width: 100%;
margin: 0 1.5rem;
}
.container {
display: flex;
flex-wrap: wrap;
width: 10rem;
gap: 1rem;
}
.box {
width: 4.45rem;
height: 4.45rem;
background: #556D7F;
border-radius: 1.2rem;
}
.box1 {transform: translate(0.02rem, -0.16rem)}
.box2 {
background: #D24444;
transform: translate(0.34rem, 1.09rem);
}
.box3 {transform: translate(1.28rem, 0.15rem)}
</style>