<div class="parent">
  <div class="child">
    子供のボックス
  </div>
</div>
.parent {
  position: relative;
}

.child {
  position: absolute;
  top: 20px;
  left: 20px;
  
  
  width: 100px;
  height: 60px;
  padding-top: 40px;
  background-color: #fafafa;
  border: 1px solid #ccc;
  font-size: 12px;
  text-align: center;
}
Rerun