JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<nav></nav>
<section>
<article id="1">123</article>
<article id="2">123</article>
</section>
</div>
CSS
*
{
margin: 0;
padding: 0;
direction: rtl;
}
section,nav, aside,header,footer,article
{
display: block;
}
#wrapper
{
width: 1000px;
height: 1500px;
margin: 0 auto;
background-color: azure;
}
nav
{
float: right;
width: 200px;
height: 1500px;
border: 1px solid red;
}
section
{
position: relative;
float: right;
width: 600px;
height: 1500px;
border: 1px solid brown;
background-color: blue;
}
[id='1']
{
position:relative;
top: 150px;
left: 100px;
width: 200px;
height: 80px;
background-color: white;
}
[id='2']
{
position: relative;
bottom: 100px;
right: 50px;
width: 400px;
height: 300px;
background-color: white;
}