JSFiddle - React, Tailwind, and code Playground

HTML

<form action="#">
<input type="text" placeholder="Enter text..."/>
<button type="submit">Submit</button>
</form>

CSS

body { margin-top: 50px; } /* push down form below "Result" label */
form { background-color: #333; padding: 10px; font-size: 20px; }
form input { width: 90%;  margin-top: 2px; box-sizing: border-box; border: none; padding: 7px; }
form button { background-color: lightblue; border: none; padding: 7px; float: right; }