JSFiddle - React, Tailwind, and code Playground
by surakrai
HTML
<div class="container">
<a href="#" class="ads left"></a>
<a href="#" class="ads right"></a>
<div>
CSS
.container{
position: relative;
width: 500px;
height: 1000px;
margin: 0 auto;
background: #e8e8e8;
}
.ads{
position: absolute;
top: 0px;
width: 200px;
height: 500px;
display: block;
background: #ccc;
}
.ads.left{
right: 100%;
}
.ads.right{
left: 100%;
}