CSS Relative Offsets

Offsets shift relatively positioned elements without removing them from flow.

Preview

Code

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

<div class="box">Relative offset example</div>

More CSS Position Offsets Examples (7)