Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>CSS Reference</title>
<style>
.container { width: 100px; }
.first { width: 100px; height: 30px; margin-bottom: -10px; background: blue; }
.second { width: 100px; height: 30px; background: green; }
</style>
<p>A blue rectangle and a green rectangle overlapping by 10px.</p>
<div class="container">
<div class="first"></div>
<div class="second"></div>
</div>