Source code

Revision control

Copy as Markdown

Other Tools

<style>
div {
position: absolute;
left: 0;
top: 0;
}
#red {
width: 300px;
height: 300px;
background-color: red;
}
#lightgreen {
width: 300px;
height: 100px;
background-color: lightgreen;
}
#green {
left: 100px;
top: 100px;
width: 200px;
height: 100px;
background-color: green;
}
#darkgreen {
left: 200px;
top: 200px;
width: 100px;
height: 100px;
background-color: darkgreen;
}
</style>
<div id="red"></div>
<div id="lightgreen"></div>
<div id="green"></div>
<div id="darkgreen"></div>