console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animation Demo</title>
<style>
@keyframes scale-up-down {
0% {
transform: scale(1);
opacity: 1;
}
70%, 100% {
transform: scale(2);
opacity: 0;
}
}
.animation-container {
width: 150px;
height: 150px;
background-color: rgba(98, 63, 211, 1);
border-radius: 50%;
position: relative;
}
.animated-circle {
width: 100%;
height: 100%;
background-color: rgba(98, 63, 211, 1);
border-radius: 50%;
position: absolute;
animation: scale-up-down 2s infinite;
transform-origin: center;
}
.animated-circle:nth-child(1) {
animation-delay: 0s;
}
.animated-circle:nth-child(2) {
animation-delay: 0.5s;
}
.animated-circle:nth-child(3) {
animation-delay: 1s;
}
</style>
</head>
<body>
<div class="animation-container">
<div class="animated-circle"></div>
<div class="animated-circle"></div>
<div class="animated-circle"></div>
</div>
</body>
</html>