JSFiddle - React, Tailwind, and code Playground
by BoxMan0617
HTML
<div class="modal-signin">
<input type="text" name="username" placeholder="Username" />
<input type="text" name="password" placeholder="Password" />
<button type="button">Sign In</button>
</div>
CSS
.modal-signin {
width: 300px;
background: #565656; /* Old browsers */
background: -moz-linear-gradient(top, #565656 0%, #262630 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#565656), color-stop(100%,#262630)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #565656 0%,#262630 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #565656 0%,#262630 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #565656 0%,#262630 100%); /* IE10+ */
background: linear-gradient(to bottom, #565656 0%,#262630 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#565656', endColorstr='#262630',GradientType=0 ); /* IE6-9 */
border-radius: 5px;
padding:25px;
position: relative;
top: 10px;
}
.modal-signin input[type="text"] {
width: 284px;
padding: 7px;
border-radius: 3px;
border: 1px solid #15151c;
font-size: 18px;
}
.modal-signin button {
width: 300px;
padding: 10px 7px;
border-radius: 3px;
border: 1px solid #15151c;
font-weight: bold;
font-size: 18px;
color: #FFF;
background: #87e0fd; /* Old browsers */
background: -moz-linear-gradient(top, #87e0fd 0%, #53cbf1 40%, #05abe0 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87e0fd), color-stop(40%,#53cbf1), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* IE10+ */
background: linear-gradient(to bottom, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 ); /* IE6-9...