Skip to content

Truly independent web browser

1.1 KB
Raw Blame
<!DOCTYPE html>
<style>
    iframe { display: block; width: 300px; height: 220px; border: 0; }
</style>
<iframe srcdoc="<!DOCTYPE html>
    <style>
        body { margin: 0; }
        .box { position: absolute; width: 60px; height: 60px; }
    </style>
    <div class='box' style='left: 10px; top: 10px; background: green'></div>
    <div class='box' style='left: 40px; top: 40px; background: blue; opacity: 0.5'></div>
    <div class='box' style='left: 150px; top: 20px; background: orange; transform: rotate(90deg)'><div style='height: 20px; background: purple'></div></div>
    <div class='box' style='left: 170px; top: 40px; width: 20px; height: 20px; background: black'></div>
    <div style='position: absolute; left: 20px; top: 120px; width: 200px; height: 50px; overflow: hidden; border-radius: 16px; background: gray'>
        <div style='width: 50px; height: 50px; background: red; transform: translateX(40px)'></div>
    </div>
    <div class='box' style='left: 240px; top: 150px; width: 20px; height: 20px; background: teal; transform: scale(2)'></div>"></iframe>