<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: absolute;
top: 30px;
right: 30px;
}
#blue {
background-color: blue;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.