JSFiddle - React, Tailwind, and code Playground
HTML
<div id="wrapper">
<div id="box1"><bold>BOX 1</bold><br>Is there any way, box2 can stand next to the box 1 without limiting the width of box1. (Repeat)Is there any way, box2 can stand next to the box 1 without limiting the width of box1</div>
<div id="box2"><bold>BOX 2</bold><br>Is there any way, box2 can stand next to the red without limiting the width of box1</div>
</div>
CSS
#box1 {
background: red;
height: 100px;
width: auto;
float:left
}
#box2 {
background: green;
height: 100px;
width: 400px;
float:right
}