<style>
div {
  margin-left: -1px;
  position: relative;
}

div:nth-child(1) {
  background-color: green;
  width: 30px;
  height: 20px;
}

div:nth-child(2) {
  background-color: blue;
  width: 100px;
  height: 80px;
  top: -20px;
  left: 29px;
}

div:nth-child(3) {
  background-color: grey;
  width: 30px;
  height: 20px;
  top: -100px;
  left: 128px;
  z-index: -1;
}

div:nth-child(4) {
  background-color: red;
  width: 100px;
  height: 20px;
  top: -100px;
  left: 128px;
  z-index: -1;
}

div:nth-child(5) {
  background-color: cyan;
  width: 5px;
  height: 20px;
  top: -120px;
  left: 227px;
  z-index: -1;
}
</style>

<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
