JSFiddle - React, Tailwind, and code Playground

by andi msc

HTML

<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<a href="#" class="push_button red">Push the button</a>

<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<a href="#" class="push_button blue">Push the button</a>

CSS

.push_button {
 position: relative;
 width:220px;
 height:40px;
 text-align:center;
 color:#FFF;
 text-decoration:none;
 line-height:43px;
 font-family:'Oswald', Helvetica;
 display: block;
 margin: 30px;
}
.push_button:before {
 background:#f0f0f0;
 background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D0D0D0), to(#f0f0f0));
 
 -webkit-border-radius:5px;
 -moz-border-radius:5px;
 border-radius:5px;
 
 -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, .5) inset, 0 1px 0 #FFF;
 -moz-box-shadow:0 1px 2px rgba(0, 0, 0, .5) inset, 0 1px 0 #FFF;
 box-shadow:0 1px 2px rgba(0, 0, 0, .5) inset, 0 1px 0 #FFF;
 
 position: absolute;
 content: "";
 left: -6px; right: -6px;
 top: -6px; bottom: -10px;
 z-index: -1;
}

.push_button:active {
 -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, .5) inset, 0 -1px 0 rgba(255, 255, 255, .1) inset;
 top:5px;
}
.push_button:active:before{
 top: -11px;
 bottom: -5px;
 content: "";
}

.red {
 text-shadow:-1px -1px 0 #A84155;
 background: #D25068;
 border:1px solid #D25068;
 
 background-image:-webkit-linear-gradient(top, #F66C7B, #D25068);
 background-image:-moz-linear-gradient(top, #F66C7B, #D25068);
 background-image:-ms-linear-gradient(top, #F66C7B, #D25068);
 background-image:-o-linear-gradient(top, #F66C7B, #D25068);
 background-image:linear-gradient(to bottom, #F66C7B, #D25068);
 
 -webkit-border-radius:5px;
 -moz-border-radius:5px;
 border-radius:5px;
 
 -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, .5) inset, 0 -1px 0 rgba(255, 255, 255, .1) inset, 0 4px 0 #AD4257, 0 4px 2px rgba(0, 0, 0, .5);
 -moz-box-shadow:0 1px 0 rgba(255, 255, 255, .5) inset, 0 -1px 0 rgba(255, 255, 255, .1) inset, 0 4px 0 #AD4257, 0 4px 2px rgba(0, 0, 0, .5);
 box-shadow:0 1px 0 rgba(255, 255, 255, .5) inset, 0 -1px 0 rgba(255, 255, 255, .1) inset, 0 4px 0 #AD4257, 0 4px 2px rgba(0, 0, 0, .5);
}

.red:hover {
 background: #F66C7B;
 background-image:-webkit-linear-gradient(top, #D25068, #F66C7B);
 background-image:-moz-linear-gradient(top, #D25068,...