<div class="test1">1</div>
<div class="test2">2</div>
.test1{
width: 150px;
height: 150px;
background-color:aqua;
font-size: 28px;
font-weight: 700;
}
.test2{
width: 150px;
height: 150px;
background-color: yellow;
font-size: 28px;
position: relative;
top: -140px;
left: 170px;
}