JSFiddle - React, Tailwind, and code Playground

by mischah

HTML

<form action="#" method="post">
    
    <label for="user">Username</label>
    <input type="text"  id="user" placeholder="Username" />
    
    <label for="pass">Password</label>
    <input type="password"  id="pass" placeholder="Password" />
    <br>
    <input type="submit" value="Submit" />
    
</form>

CSS

label { display: block; }
input { margin-bottom: 10px; }