Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>CSS Reference</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
.container { width: 100px; font: 20px/1 Ahem; }
.first { width: 100px; height: 20px; margin-bottom: 40px; background: green; }
.second { width: 100px; height: 20px; margin-top: 30px; background: green; }
</style>
<p>Two green squares separated by a 40px gap (margins collapse).</p>
<div class="container">
<div class="first"></div>
<div class="second"></div>
</div>