<div class="container">
<a href="#" class="button button-gradient">Register</a>
</div>
@import "https://fonts.googleapis.com/css?family=Montserrat:400,500,700,800";
html,body {
width:100%;
height:100%;
background-color:#f7f7f7;
}
.container {
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
}
.button {
display:inline-block;
vertical-align:middle;
margin:0 0 1rem;
border:1px solid transparent;
border-radius:3px;
-webkit-transition:background-color .25s ease-out,color .25s ease-out;
transition:background-color .25s ease-out,color .25s ease-out;
font-family:inherit;
-webkit-appearance:none;
line-height:1;
text-align:center;
cursor:pointer;
background-color:#6e7f91;
color:#fefefe;
font-family: 'Montserrat';
font-weight: 500;
font-size: 1.2rem;
text-decoration: none;
padding: 1em 3em;
}
.button:hover, .button:focus {text-decoration: none;}
.button-gradient {
border:0;
text-shadow:0 0 5px rgba(0,0,0,.25);
background:#46dc9e;
background-image:linear-gradient(to right,#04ac9c,#46dc9e,#46dc9e,#04ac9c);
background-size:300% 100%;
-moz-transition:all .4s ease-in-out;
-o-transition:all .4s ease-in-out;
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
}
.button-gradient:hover {
background-position:100% 0;
-moz-transition:all .4s ease-in-out;
-o-transition:all .4s ease-in-out;
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.