JSFiddle - React, Tailwind, and code Playground

by ahmadka

HTML

<section class="subscribe">
    <form class="form-wrapper cf" method="post">
        <input class="tiptipNewsletterInfo" name="email" placeholder="Enter your email here..." title="Title">
        <button id="submitBtn" type="submit">Subscribe</button>
    </form>
    <p></p>
</section>

CSS

/* Newsletter Email Submit button Styling BEGIN */
 .cf:before, .cf:after {
    content:"";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    zoom: 1;
}
/* Form wrapper styling */
 .form-wrapper {
    width: 245px;
    padding: 5px;
    margin: auto;
    display: block;
    background: #444;
    background: rgba(0, 0, 0, .2);
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .4) inset, 0 1px 0 rgba(255, 255, 255, .2);
    color: #E0E0E0!important;
}
/* Form text input */
 .form-wrapper input {
    width: 150px;
    height: 20px;
    padding: 0 5px;
    float: left;
    font: italic 12px'lucida sans', 'trebuchet MS', Tahoma;
    border: 0;
    background: rgba(0, 0, 0, 0);
    color: #999999!important;
    border-radius: 3px 0 0 3px;
}
.form-wrapper input:focus {
    outline: 0;
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
}
.form-wrapper input::-webkit-input-placeholder {
    color: #999;
    font-weight: 400;
    font-style: italic;
}
.form-wrapper input:-moz-placeholder {
    color: #999;
    font-weight: 400;
    font-style: italic;
}
.form-wrapper input:-ms-input-placeholder {
    color: #999;
    font-weight: 400;
    font-style: italic;
}
/* Form submit button */
 .form-wrapper button {
    overflow: visible;
    position: relative;
    float: left;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 20px;
    width: 85px;
    font: bold 12px/20px'lucida sans', 'trebuchet MS', Tahoma;
    color: #fff;
    text-transform: uppercase;
    background: #1854C4;
    /* 1854C4 = Normal Theme Blue Color */
    border-radius: 0 3px 3px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
}
.form-wrapper button:hover {
    background: #3875E7;
    /*3875E7 = Hover color*/
}
.form-wrapper button:active, .form-wrapper button:focus {
    background: #13439B;
    outline: 0;
}
.form-wrapper button:before {
    /* left arrow */
    content:'';
    position: absolute;
    border-width: 4px 4px 4px 0;
 ...