<!DOCTYPE html>
<style>
body, html {
    margin: 0;
    padding: 0;
}
div {
    display: block;
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: red;
}
</style>
<div></div>

