div {
  width: 50px;
  height: 50px;
  position: absolute;
}

#a{
  background-color: green;
}

#b{
  background-color: orange;
  top: 200px;
}