Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<title>CSS Reference</title>
<style>
.container { width: 200px; }
.first { width: 200px; height: 20px; margin-bottom: 40px; background: blue; }
.intervening { float: left; width: 80px; height: 60px; background: yellow; }
.second { width: 200px; height: 20px; background: blue; }
</style>
<p>Two blue rectangles separated by a 40px gap; a yellow float intersects the second.</p>
<div class="container">
<div class="first"></div>
<div class="intervening"></div>
<div class="second"></div>
</div>