JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<body>
    <div><a class="button">Test</a></div>

CSS

body {
    margin: 0px;
    padding: 30px;
    font: 16px Arial;
}
.button {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    background-color: #CCC;
    background: -webkit-linear-gradient(top, #fcfcfc 0%,#bababa 100%);
    cursor: pointer;
}

.button:active::after {
    content: '';
    position: absolute;
    background: rgba(0,0,0,.3);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}