CSS Position Offsets

Top, right, bottom, and left control element offset.

Preview

Code

<style>
.box{
position:relative;
top:15px;
left:30px;
background:#bae6fd;
padding:10px;
}
</style>

<div class="box">Offset example</div>

More CSS Position Examples (9)