JSFiddle - React, Tailwind, and code Playground

by poztin

HTML

<div class="button">Submit</div>

CSS

.button {
    display: inline-block;
    zoom: 1;
    margin: 0;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font: 12px Tahoma, Arial, sans-serif;
    width: 70px;
    height: 25px;
    line-height: 25px;
    color: #000;
    border: solid 1px #003c73;
    
    background: #ece9d8;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#ece9d8');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#ece9d8')";
    background-image: -ms-linear-gradient(top, #FFFFFF 0%, #ECE9D8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ece9d8));
    background-image: -moz-linear-gradient(top, #fff, #ece9d8);
    
    -moz-box-shadow: inset 0 -2px 2px rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0 -2px 2px rgba(0,0,0,0.2);
    box-shadow: inset 0 -2px 2px rgba(0,0,0,0.2);
    
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button:active {
    margin-top: 1px;
    margin-left: 1px;
}