JSFiddle - React, Tailwind, and code Playground

HTML

<a class="btn_primary" href="#">A button</a>

CSS

.btn_primary {
    background-color : #6BFF8A;
    background-image : linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    color : #fff;
    display : block;
    font-family : arial,sans-serif;
    font-size : 12px;
    padding : 5px 10px;
    text-align : center;
    text-decoration : none;
    transition : background-color 0.5s ease 0s;
    width : 75px;
}
.btn_primary:hover {
    background-color : #900;
}