Back to Components

Animated Timeline

Vertical timeline with animated progress line and pulsing dots. Perfect for showing project milestones, history, or step-by-step processes.

Creative UI Timeline Animation

Live Preview

HTML

<div class="timeline">
    <div class="timeline-item">
        <div class="timeline-dot"></div>
        <div class="timeline-content">Event 1</div>
    </div>
    <div class="timeline-line"></div>
    <div class="timeline-item">
        <div class="timeline-dot"></div>
        <div class="timeline-content">Event 2</div>
    </div>
</div>

CSS

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-line {
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    animation: growLine 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

@keyframes growLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    100% {
        transform: scaleY(1);
    }
}