Ripple Press
Animated · .btn-ripple-press
Text
Class name
Color hue
Radius · 10px
Size
.btn-ripple-press {
display: inline-block;
padding: 12px 26px;
border: none;
border-radius: 10px;
background-color: #4f46e5;
background-position: center;
color: #ffffff;
font-family: inherit;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: background 0.5s ease;
}
.btn-ripple-press:hover {
background: #4f46e5 radial-gradient(circle, transparent 1%, #4338ca 1%) center / 15000%;
}
.btn-ripple-press:active {
background-color: #6366f1;
background-size: 100%;
transition: background 0s;
}