eft: 100px; top: 100px;">
  <div class="box1"></div>
  <div class="box2" style="visibility: hidden;"></div>
</div>
<div style="left: 200px; top: 100px;">
  <div class="box1"></div>
  <div class="box2" style="pointer-events: none;"></div>
</div>
<div style="left: 300px; top: 100px;">
  <div class="box1" style="position: static; z-index: 1;"></div>
  <div class="box2"></div>
</div>
<div style="left: 0px; top: 200px; display: flex;">
  <div class="box1" style="position: static; z-index: 1;"></div>
  <div class