JSFiddle - React, Tailwind, and code Playground
by mrmartineau
HTML
<div id="body">
<a class="button" href="#">Download</a>
<br /><br /><br />
<a class="button" href="#">Submit</a>
<a class="button" href="#">Reset</a>
<br /><br /><br />
<a class="button" href="#">Join The Epic Site Today</a>
</div>
CSS
#body { padding: 10px; }
.button {
font-family: 'Helvetica', Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
text-shadow: 0 1px 0 white;
text-decoration: none;
color: black;
background-color: #F2F2F2;
padding: 9px 20px;
border-radius: 50px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
background-image: -moz-linear-gradient(100% 100% 90deg, #DBDBDB, #F2F2F2);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F2F2F2), to(#DBDBDB));
border: 1px solid #B3B3B3;
-webkit-box-shadow: inset 0 0 2px 1px white, 0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.06);
-moz-box-shadow: inset 0 0 2px 1px white, 0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.06);
box-shadow: inset 0 0 2px 1px white, 0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.06);
}
.button:hover {
background-image: -moz-linear-gradient(100% 100% 90deg, #E8E8E8, #F7F7F7);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F7F7F7), to(#E8E8E8));
}
.button:active {
-webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.1), inset 0 -17px 0 rgba(0,0,0,0.06);
-moz-box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.1), inset 0 -17px 0 rgba(0,0,0,0.06);
box-shadow: inset 0 0 2px 1px rgba(0,0,0,0.1), inset 0 -17px 0 rgba(0,0,0,0.06);
}