JSFiddle - React, Tailwind, and code Playground

HTML

<h3>Contact Form</h3>
<div class="contact-wrapper">
    <label>Username:</label>
    <input type="text" />
    <label>Password:</label>
    <input type="text" />
    <label>Email:</label>
    <input type="text" />
</div>

CSS

.contact-wrapper {
    padding:15px;
    background:#ddd;
    display:inline-block;
    border-radius:15px;
}
label {
    width:30%;
    display:block;
    box-sizing:border-box;
    float:left;
}
input[type="text"] {
    border:none;
    background:#fafafa;
    padding:7px;
    border-radius:5px;
    width:70%;
    box-sizing:border-box;
    float:left;
}