I attempted to create a similar effect like this:
https://i.sstatic.net/hbiOS.gif
As you can see, when the mouse hovers over the button, it has a scaling and fading white effect.
I tried to achieve the same effect on my Bootstrap button by customizing my CSS, but for some reason, it doesn't scale up and produce the desired scaling and fading white effect as seen in the example.
Here's what I have tried so far:
body {
background: #6FDC9C !important;
}
a.btn.btn-primary.btn-lg.signup{
font-size: 1.2em;
border: 2px solid #fff;
border-radius: 25px;
padding: 10px 30px;
background: #fff;
color: #C056BB;
}
a.btn.btn-primary.btn-lg.signup:hover{
background: transparent;
color: #fff;
border: 1px solid;
box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
outline-color: rgba(255, 255, 255, 0);
outline-offset: 15px;
text-shadow: 1px 1px 2px #427388;
}
a.btn.btn-primary.btn-lg.signup:hover::after{
-webkit-transform: scaleX(1.4) scaleY(1.6);
transform: scaleX(1.4) scaleY(1.6);
opacity: 0
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<a class="btn btn-primary btn-lg signup btn-animated" href="#" role="button">SIGN UP</a>
However, this CSS didn't achieve the desired outcome. Any insights on what I might be missing here?