<!DOCTYPE html>
<style>
    body {
        margin: 0;
    }
    div.green {
        position: fixed;
        inset: 0;
        background: green;
    }
</style>
<body>
    <div class="green">
    </div>
</body>