<button class="btn btn-01">Button</button>
body{
background-image: linear-gradient( 96.5deg, rgba(39,103,187,1) 10.4%, rgba(16,72,144,1) 87.7% );
}
.btn
{
overflow: hidden;
border: 2px solid white;
font-family: 'Arial';
font-size: 1rem;
color: white;
background: none;
cursor: pointer;
padding: 25px 80px;
display: inline-block;
margin: 15px 30px;
text-transform: uppercase;
outline: none;
position: relative;
transition: all 0.3s;
border-radius: 4rem;
font-weight:700;
}
.btn:after{
content: '';
position: absolute;
z-index: -1;
transition: all 0.3s;
box-sizing: border-box;
}
.btn-01:hover{
background-color:white;
color:#457b9d;
transform: scale(1.1)
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.