JSFiddle - React, Tailwind, and code Playground

by Martin Sjåstad

HTML

<div class="container">
<button class="btn">
                                    <span></span>2012 MEMBER
                                </button>
</div>

CSS

.container
{
    margin: 40px;
}

.btn,
.btn-icon,
.btn-mini,
.btn-mini-icon
{
    background-color: #ededed;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ebebeb));
    background-image: -webkit-linear-gradient(top, #f4f4f4, #ebebeb);
    background-image:    -moz-linear-gradient(top, #f4f4f4, #ebebeb);
    background-image:      -o-linear-gradient(top, #f4f4f4, #ebebeb);
    background-image:         linear-gradient(to bottom, #f4f4f4, #ebebeb);
    background-repeat: no-repeat;
    background-position: 6px center;
    -webkit-box-shadow: inset 0 1px 2px #ffffff;
    -moz-box-shadow: inset 0 1px 2px #ffffff;
    box-shadow: inset 0 1px 2px #ffffff;
    font-weight: bold;
    font-size: 11px;
    color: #555555;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #bababa;
    padding: 0 7px;
    line-height: 2.363636364;
    margin: 0;
    cursor: pointer;
    position: relative;
    text-shadow: 0 1px 0 #ffffff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn:before
{
    content: "";
    position: absolute;
    border: 1px solid #a5a5a5;
    top: 1px;
    right: -1px;
    bottom: -3px;
    left: -1px;
    background: #b2b1b1;
    z-index: -2;
    box-shadow: 0 1px 1px #000000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}