Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>CSS Reference</title>
<style>
.container { width: 200px; }
.first { width: 200px; height: 30px; margin-bottom: -10px; background: blue; }
.intervening { float: left; width: 80px; height: 30px; background: yellow; }
.second { width: 200px; height: 30px; background: green; }
</style>
<p>Blue and green rectangles overlapping by 10px; yellow float intersects them.</p>
<div class="container">
<div class="first"></div>
<div class="intervening"></div>
<div class="second"></div>
</div>