galaxy/Buttons/kevkevkevin_bright-monkey-48.html

47 lines
882 B
HTML

<button class="button">
HOVER ME 🙈
</button>
<style>
/* From Uiverse.io by kevkevkevin - Tags: button, hover, creative, css, css effect, hoverme */
.button {
border: 2px solid #246bfd;
color: #101a29;
line-height: 52px;
border-radius: 30px;
font-weight: 600;
height: 55px;
overflow: hidden;
padding: 0 30px;
position: relative;
transition: all .5s ease;
z-index: 0;
}
button:after {
content: "";
height: 100%;
left: -35%;
position: absolute;
top: 0;
background: #246bfd;
-webkit-transform: skew(30deg);
transform: skew(30deg);
-webkit-transform-origin: top left;
transform-origin: top left;
transition: all .3s ease-in;
transition-duration: .6s;
width: 0;
z-index: -1;
}
button:hover {
color: #fff;
background-color: #ffffff00;
border-color: #ffffff00;
}
button:hover:after {
height: 100%;
width: 135%;
}
</style>