JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<span>+387</span>
<input type="text" />
</div>
CSS
input {border:none;width:260px;height:28px;}
.container {border:1px solid black;width:300px;height:30px;}
<div class="container">
<span>+387</span>
<input type="text" />
</div>
input {border:none;width:260px;height:28px;}
.container {border:1px solid black;width:300px;height:30px;}