JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div class="outer">
<input type="text" value ="textcontent"></input>
</div>
</body>
CSS
body { background-color:gray;}
.outer {
height:480px;
background-color:pink;
margin-top:100px;
}
input {
height:100%;
background-color:lightgreen;
}