<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Relative</title>
</head>
<body>
<div class="container">
<div class="pos">One</div>
<div class="pos" id="two">Two</div> <div class="pos">Three</div>
<div class="pos">Four</div>
</div>
</body>
</html>
.pos{
border:1px solid black;
display:inline-block;
height:70px;
width:70px;
text-align:center;
border-radius:7px;
}
#two{
position:relative;
top:10px;
right:20px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.