JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://raw.github.com/LeaVerou/prefixfree/master/prefixfree.min.js"></script>
<button class="button">button</button>
<a href="#" class="button">linkffffffff</a>
CSS
/**
* Embed buttons
*/
body {
background: #3a3f48;
padding: 50px;
}
.button {
background: linear-gradient(#525866, #292C33);
border: none;
border-radius: 4px;
box-shadow:
inset 0 15px rgba(255,255,255,.02), inset 0 1px rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.05),
0 1px #292C33, 0 1px 0 1px #000, 0 0 0 1px #333, 0 2px 0 1px rgba(255,255,255,.1);
color: #FFF;
cursor: pointer;
display: -moz-inline-box; display: inline-block; *display: inline; *zoom: 1;
font: 13px/30px "Lucida Grande", Verdana, Arial, sans-serif;
height: 30px;
padding: 0 1em;
position: relative;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0,0,0,.75);
}
.button:hover {
text-shadow: 0 0 12px rgba(255,255,255,.5), 0 1px 1px rgba(0,0,0,.75);
}
.button:active {
box-shadow:
inset 0 15px rgba(255,255,255,.02), inset 0 1px rgba(255,255,255,.05), inset 0 0 0 1px rgba(255,255,255,.05),
0 0 #292C33, 0 0 0 1px #000, 0 -1px 0 1px #333, 0 1px 0 1px rgba(255,255,255,.1);
top: 1px;
}