CSS Live Preview Available

Pulse Animation Effect

Smooth pulse animation for UI elements like notifications or buttons

CSS3AnimationPulseKeyframes

Code

.pulse-effect {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff2e63;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
}
.pulse-effect::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: #ff2e63;
  opacity: 0.4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.7;
  }
}

HTML

<"attr-name"</span>>class</span>="tag"</span>>div</span> "attr-name"</span>>class</span>="pulse-effect"</span>>99+</"attr-name"</span>>class</span>="tag"</span>>div</span>>

Live Preview