.ripple{
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.ripple-component{
    position: absolute;
    transform: translate(-50%,-50%);
    background-color: white;
    opacity: 0.7;
    width: 0;
    height: 0;
    animation: ripple 0.3s ease-in infinite;
    border-radius: 50%;
    pointer-events: none;
}
@keyframes ripple {
    to{
        width: 600px;
        height: 600px;
        background-color: transparent;
    }
}