JSFiddle - React, Tailwind, and code Playground

by Vince

HTML

<button class="mad-btn">mad-btn</button>

CSS

* {margin: 0; padding: 0; background-color: transparent; border: none;
outline: 0px solid transparent;}
.mad-btn,
.mad-btn:before,
.mad-btn:after {
    border-radius: 7px;
}
.mad-btn {
    min-width: 100px;
    width: auto;
    padding: 10px;
    margin: 10px;
    background-color: #FFC627;
    position: relative;
    transform: scale(1);
    z-index: 0;
}
.mad-btn:before,
.mad-btn:after {
    content: '';
    position: absolute;
    z-index: 0;
    background-color: transparent;
    box-shadow: 0px 0px 10px #000;
    width: 50%;
    height: 70%;
    top: 20%;
    transform: translateZ(1px);
}
.mad-btn:before {
    left: 5%;
    transform: rotate(5deg);
}
.mad-btn:after {
    left: 45%;
    transform: rotate(-5deg);
}
.mad-btn:hover {
    transform: scale(1.2);
}