<style>
div {
  color: transparent;
}
</style>
<ul>
  <li>
    <div style="display: flex;">
      <div style="background-color: green; width: 100px; height: 100px;"></div>
      <div>PASS if marker is outside of the green box</div>
    </div>
  </li>
  <li>
    <div style="display: flex; padding-left: 10px;">
      <div style="background-color: green; width: 100px; height: 100px;"></div>
      <div>PASS if marker is outside of the green box</div>
    </div>
  </li>
  <li>
    <div style="display: flex; padding-left: 10px;">
      <div style="background-color: green; width: 100px; height: 100px;"></div>
      <div style="padding-left: 40px;">PASS if marker is outside of the green box</div>
    </div>
  </li>
</ul>
