JSFiddle - React, Tailwind, and code Playground

HTML

<div id="login">

<div id="username">Username</div> <div id="optional">(Optional)</div>
<form name="loginForm">
<div id="usernameInput">
<input name="username" type="text" size="20" value="">
</div>
<div id="password">Password</div>
<div id="passwordInput">
<input name="password" type="password" size="20" value="">
</div>
<div id="relativeHolder"> 

<div id="email">Email</div>
<div id="emailIn"><input name="email" type="text" size="20" value=""></div>


<div id="CreateAcc"> 
<div style="float:left;">
 <input name='newAcc' type='checkbox' value='newAcc'  >
</div>
<div id="createAccText">Create new Account</div>
</div>

<div id="loginBttn">Create Account</div>
</div>


</form>

</div>

<div id="signUp" ></div>

CSS

#signUp {
    position:absolute;
    left:741px;
    top:108px;
    width:83px;
    height:14px;
}
#login {
    position:absolute;
    left:661px;
    top:130px;
    min-width:162px;
    min-height:126px;
    border: 1px solid black;
/*fix this up so its hidden and the box extends to the size of its children instead*/
}
#username {
    position:relative;
    float:left;
    magin-left:9px;
    margin-top:5px;
    width:70px;
    height:17px;
    font-family: "Times New Roman", Times, serif;
}

#optional {
    position:relative;
    float:left;
    margin-left:2px;
    margin-top:8px;
    width:50px;
    height:14px;
    font-size: 11px;
    color: #999;
    display:none;
}

#usernameInput {
    position:relative;
    clear:left;
    magin-left:9px;
    width:101px;
    height:17px;
}
#password {
    position:relative;
    clear:left;
    magin-left:10px;
    width:101px;
    height:17px;
    font-family: "Times New Roman", Times, serif;
}
#passwordInput {
    position:relative;
    clear:left;
    magin-left:9px;
    width:101px;
    height:17px;
}

#loginBttn {
    position:relative;
    left:37px;
    width:110px;
    height:18px;
    background-color: #000000;
    color: #FFF;
    font-size: 11px;
    font-family: Tahoma, Geneva, sans-serif;
    text-align: center;
    cursor:pointer;
    font-weight: bold;
}
#CreateAcc {
    position:relative;
    clear:left;
    magin-left:12px;
    width:119px;
    height:18px;
}
#createAccText {
    position:relative; /*fix positioning so it looks good in browsers probably use float or something similar */
    float: left;
    margin-top:4px;
    width:88px;
    height:11px;
    font-size: 9px;
    font-family: "MS Serif", "New York", serif;
}


#relativeHolder {
    position:relative;
    clear:left;
    width:162px;
    height:auto;
    z-index:1;
}
#email {
    position:relative;
    magin-left:12px;
    clear:left;
    width:101px;
    height:17px;
    font-family: "Times New Roman", Times, serif;
   ...