JSFiddle - React, Tailwind, and code Playground
by NotInUse
HTML
<button>A Button Element</button>
<a href="#" class="btn">A Link Button</a>
<a href="#" class="current">A Pushed Link Button</a>
CSS
button, .btn, .current {
display: inline-block;
margin: 20px;
background: #a00;
background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%);
background: linear-gradient(to bottom, #a90329 0%,#8f0222 44%,#6d0019 100%);
border: 1px solid #301;
padding: 5px 15px;
color: #fff;
text-decoration: none;
outline: none;
font-weight: bold;
font-size: 18px;
font-family: sans-serif;
text-align: center;
text-shadow: 0 1px 1px #301;
-webkit-border-radius: 5px;
border-radius: 5px;
cursor: pointer;
-webkit-box-shadow: 0px 2px 5px 1px rgba(155, 155, 155, .5);
box-shadow: 0px 2px 5px 1px rgba(155, 155, 155, .5);
}
button:active, button:hover, button:focus,
.btn:active, .btn:hover, .btn:focus, .current {
background: #a00;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6d0019), color-stop(56%,#8f0222), color-stop(100%,#a90329));
background: linear-gradient(to bottom, #6d0019 0%,#8f0222 56%,#a90329 100%);
color: #ddd;
text-decoration: none;
outline: none;
text-shadow: none;
-webkit-box-shadow: inset 0px 5px 5px 1px rgba(0, 0, 0, .3);
box-shadow: inset 0px 5px 5px 1px rgba(0, 0, 0, .3);
}