Edit on
<div id='container'>
  <div id="group1">
    <div class="background">
      <center>I'm an element far away, SUCCESSFULLY pretending to be close by.</center>
    </div>
    <div class="foreground">
      <center>I'm an element close by.</center>
    </div>
  </div>
</div>
div {
  box-sizing: border-box;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  perspective: 1px;
  -webkit-perspective: 1px;
  perspective-origin: 50% 0;
  -webkit-perspective-origin: 50% 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

#group1 {
  height: 150%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  font-size: 20px;
}

.background {
  transform: translateZ(-1px) scale(2);
  -webkit-transform: translateZ(-1px) scale(2);
  height: 50%;
  width: 100%;
  position: relative;
  background: #FF8A8A;
  padding-top: 100px;
  transform-origin: 50% 0;
  -webkit-transform-origin: 50% 0;
}

.foreground {
  position: relative;
  height: 500px;
  width: 100%; 
  background: #23819C;
  opacity: 0.8;
  padding-top: 100px;
}
Rerun