JSFiddle - React, Tailwind, and code Playground
HTML
<button class="default">Hello</button>
CSS
button {
position: relative;
min-width: 44px;
margin-right: 5px;
padding: 2px 6px;
font-size: 13px;
font-weight: bold;
color: #4f4f4f;
background: #ddd;
background: -webkit-gradient(linear, left top, left bottom, from(#f5f6f6), to(#dbdbdb));
background: -moz-linear-gradient(top, #f5f6f6, #dbdbdb);
border: 1px solid #999;
border-bottom-color: #888;
transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
cursor: pointer;
}
button:hover,
button:focus {
box-shadow: 0 0 7px rgba(0,0,0,0.4);
-webkit-box-shadow: 0 0 7px rgba(0,0,0,0.4);
-moz-box-shadow: 0 0 7px rgba(0,0,0,0.4);
}
button:active {
background: #ccc;
background: -webkit-gradient(linear, left top, left bottom, from(#c3c3c3), to(#ebebeb));
background: -moz-linear-gradient(top, #c3c3c3, #ebebeb);
border-color: #a6a6a6;
border-top-color: #939393;
border-bottom-color: #bcbcbc;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
-o-box-shadow: none;
}
button.default {
color: white;
background: #5B74A8;
border-color: #29447E #29447E #1A356E;
background-position: 0px -48px;
}