.text-wave {
width: 100px;
height: 100px;
background-color: #f00;
display: flex;
justify-content: center;
align-items: center;
}
.text-wave:before,
.text-wave:after {
content: "";
width: 0;
height: 0;
border-radius: 50%;
background-color: #007bff;
animation: wave 1s infinite both;
}
.text-wave:after {
left: -40px;
transform: rotateY(-45deg);
}
@keyframes wave {
0% {
transform: scale(1);
}
50% {
transform: scale(0.6);
}
100% {
transform: scale(1);
}
}