JSFiddle - React, Tailwind, and code Playground
HTML
<form id="login-form">
<input type="password">
<button id="password-input" type="submit"></button>
</form>
CSS
input {
display:block;
margin: 5px 5px 5px 5px;
}
#login-form {
margin: 10px 0px 0px 20px;
display: inline-block;
position: relative;
}
#password-input {
background-size: contain;
height: 15px;
width: 15px;
border: 0;
background:...