<div class="box-border h-20 w-20 p-4 border-4 border-teal-400 bg-teal-200">
<div class="h-full w-full bg-teal-400"></div>
</div>
<div class="box-border h-20 w-20 p-4 border-4 border-teal-400 bg-teal-200">
<div class="h-full w-full bg-teal-400"></div>
</div>
.box-border {
box-sizing: border-box;
}