Skip to content

Truly independent web browser

550 B
Raw Blame
<!DOCTYPE html>
<style>
body { margin: 0; }
.container { position: relative; width: 220px; height: 110px; background: lightgray; }
.container > div { position: absolute; width: 100px; height: 30px; background: green; }
</style>
<div class="container">
    <div style="left: 0; top: 0; height: 60px"></div>
    <div style="left: 120px; top: 0; height: 60px"></div>
    <div style="left: 0; top: 60px; width: 220px; height: 20px; background: blue"></div>
    <div style="left: 0; top: 80px"></div>
    <div style="left: 120px; top: 80px"></div>
</div>