JSFiddle - React, Tailwind, and code Playground
by jakie8
HTML
<div class="nice-wrap">
<input type="button" class="nice" value="Download the Files">
</div>
CSS
body{
background:#f0eceb;
text-align:center;
padding-top:150px;
}
.nice{
height:50px;
color:#1d1b1c;
text-align:center;
padding-left:50px;
padding-right:50px;
font-size:16px;
position:relative;
cursor:pointer;
background-color: #baf0e2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#baf0e2), to(#41c4a2));
background-image: -webkit-linear-gradient(top, #baf0e2, #41c4a2);
background-image: -moz-linear-gradient(top, #baf0e2, #41c4a2);
background-image: -ms-linear-gradient(top, #baf0e2, #41c4a2);
background-image: -o-linear-gradient(top, #baf0e2, #41c4a2);
background-image: linear-gradient(to bottom, #baf0e2, #41c4a2);
-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 3px rgba(0,0,0,0.2), 0 -1px 0 rgba(0,0,0,0.3) inset;
-moz-box-shadow:0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 3px rgba(0,0,0,0.2), 0 -1px 0 rgba(0,0,0,0.3) inset;
box-shadow:0 1px 0 rgba(255,255,255,0.6) inset, 0 2px 3px rgba(0,0,0,0.2), 0 -1px 0 rgba(0,0,0,0.3) inset;
border-radius:50px;
border:1px solid #62d9b9;
border-bottom:none;
text-shadow:0 1px 0 rgba(255,255,255,0.5);
z-index:1;
overflow:visible;
}
.nice:active{
background-color: #41c4a2;
background-image: -webkit-gradient(linear, left top, left bottom, from(#41c4a2), to(#baf0e2));
background-image: -webkit-linear-gradient(top, #41c4a2, #baf0e2);
background-image: -moz-linear-gradient(top, #41c4a2, #baf0e2);
background-image: -ms-linear-gradient(top, #41c4a2, #baf0e2);
background-image: -o-linear-gradient(top, #41c4a2, #baf0e2);
background-image: linear-gradient(to bottom, #41c4a2, #baf0e2);
box-shadow:0 1px 0 #fff;
}
.nice-wrap{
display: inline-block;
padding: 10px;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
-webkit-box-shadow: 0 1px 0 #fff, 0...