<div id="red">box-1</div>
<div id="green">box-2</div>
<div id="blue">box-3</div>
div {
  width: 50px;
  height: 60px;
  display: inline-block;
  margin: 10px;
}
#red {
  background-color: red;
}
#green {
  background-color: green;
  position: relative;
  top: 20px;
  left: 50px;
}
#blue {
  background-color: blue;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.