<!DOCTYPE html>
<style>
  #container {
    height: 300px;
    width: 300px;
    background-color: green;
    transform: translateZ(0);
  }

  #parent {
    position: absolute;
    left: 400px;
    width: 300px;
    height: 300px;
    background-color: green;
    transform: translateZ(0);
  }
</style>
<body>
<div id="container">
  <div id="parent">
  </div>
</div>
</body>
