CSS Top Offset

The top property moves positioned elements downward from the top.

Preview

Code

<style>
.box{
position:relative;
top:20px;
background:#e0f2fe;
padding:10px;
}
</style>

<div class="box">Moved down using top</div>

More CSS Position Offsets Examples (7)