JSFiddle - React, Tailwind, and code Playground

by rami7250

HTML

<button type="submit" id="headerSupportBtn" class="kfds-font-size-20 kfds-btn-primary kfds-font-bold kfds-srf-rounded kfds-srf-height-s custom-color-solid-bg kfds-c-show-web-to-ipad-only kfds-left-mrgn-16" onclick="openDonationModal();" style="min-width: 200px;">
                            <img src="https://storage.ko-fi.com/cdn/cup-border.png" height="16" class="kfds-right-mrgn-8 cup-in-button">
                            <span id="">Donate</span>
                        </button>

CSS

min-width: 200px;
}
.kfds-c-show-web-to-ipad-only {
    visibility: inherit;
}
.kfds-srf-height-s {
    height: 46px;
}
.kfds-srf-rounded {
    border-radius: 100px !important;
}
.kfds-btn-primary {
    font-family: 'Nunito',sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    background-color: #ff5f5f;
    height: 46px;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    transition: color .15s ease-in-out 0s,background-color .15s ease-in-out 0s;
}
.kfds-font-bold {
    font-weight: 700;
}
.kfds-left-mrgn-16 {
    margin-left: 16px;
}
.kfds-font-size-20 {
    font-size: 20px !important;
}
input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button, select {
    text-transform: none;
}
button {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
* {
    box-sizing: border-box;
}

.kfds-btn-primary:hover {
    color: #fff;
    background-color: #ff4646;
}
.kfds-c-show-web-to-ipad-only {
    visibility: inherit;
}
.kfds-srf-height-s {
    height: 46px;
}
.kfds-srf-rounded {
    border-radius: 100px !important;
}
.kfds-btn-primary {
    font-family: 'Nunito',sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    background-color: #ff5f5f;
    height: 46px;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    transition: color .15s ease-in-out 0s,background-color .15s ease-in-out 0s;
}
.kfds-font-bold {
    font-weight: 700;
}
.kfds-left-mrgn-16 {
    margin-left: 16px;
}
.kfds-font-size-20 {
    font-size: 20px !important;
}