JSFiddle - React, Tailwind, and code Playground
HTML
<div class="formLink">Download</div>
<div class="btn">Button 2</div>
CSS
body{
background-color: blue;
}
.formLink, .formLink:after {
position: relative;
text-align: center;
display: inline-block;
background: linear-gradient(to right,#e82171,#ef3e36);
padding: 24px 40px;
border-radius: 100px;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
font-size: 18px;
color: #fff;
text-decoration: none;
cursor: pointer;
font-weight: 900;
transition: all .6s;
background: -moz-linear-gradient(to right,#e82171,#ef3e36);
background: -webkit-linear-gradient(to right,#e82171,#ef3e36);
background: -o-linear-gradient(to right,#e82171,#ef3e36);
background: linear-gradient(to bottom, #e82171, #ef3e36);
background-repeat: repeat-x;
background-repeat: repeat-y;
background-size: 100%;
background-position: 0 100% no-repeat;
-webkit-transition: all 0.6s linear;
-moz-transition: all 0.6s linear;
-o-transition: all 0.6s linear;
transition: all 0.6s linear;
}
.formLink:after {
content: "Download";
position: absolute;
left: 0;
top: 0;
}
.formLink:hover:after {
box-shadow: 0 0 20px #fff;
background: #404262;
background-position: 0 0;
}
/*************/
/** BUTTON 2 **/
.btn {
display: inline-block;
padding: 20px;
border-radius: 100px;
text-align: center;
border: 0;
cursor: pointer;
transition: all 0.6s;
color: #ffffff;
outline: none;
background: #E82171;
font-size: 90%;
}
.btn:hover {
box-shadow: 0 0 20px #ffffff;
background: #404262;
}