Skip to content

Truly independent web browser

561 B
Raw Blame
<!DOCTYPE html>
<style>
body { margin: 0; }
.container { position: relative; height: 100px; width: 320px; background: lightgray; }
.container > div { position: absolute; width: 100px; height: 20px; }
</style>
<div class="container">
    <div style="background: red; left: 0; top: 10px"></div>
    <div style="background: orange; left: 0; top: 40px"></div>
    <div style="background: yellow; left: 110px; top: 10px"></div>
    <div style="background: green; left: 220px; top: 10px"></div>
    <div style="background: blue; left: 220px; top: 40px"></div>
</div>