JSFiddle - React, Tailwind, and code Playground
by Ayan Dey
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<div style="position:relative;">
<div class="row" id='blue_box'
style="overflow:scroll; overflow-y:hidden;
width:100%; border:10px dotted blue;">
<div id = 'red_box' class="col-xs-12 col-sm-12 col-md-12 col-lg-12"
style="display:flex;justify-content:space-around;
width:90vw; max-width:1296px; height:32vw; margin:10px;
border: 1px solid red;">
<div style="width:80vw;
height:32vw;
border:10px solid transparent;
max-height:467px;">
content..I want to move red box that is overflowing within the blue box..
</div>
</div>
</div>
</div>