@jay-js/ui
Version:
A library of UI components for Jay JS with Tailwind CSS and daisyUI.
21 lines (20 loc) • 366 B
CSS
.ripple-effect {
position: absolute;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.7);
transform: translate(-50%, -50%);
pointer-events: none;
animation: ripple 0.3s linear;
}
@keyframes ripple {
from {
transform: scale(1);
opacity: 0.7;
}
to {
transform: scale(50);
opacity: 0;
}
}