fix(docs): make bullet throb loop continuously via CSS only
Replace scroll-triggered JS animation with infinite CSS keyframe loop (2.4s cycle). Remove IntersectionObserver code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -534,13 +534,12 @@ ul, ol {
|
||||
}
|
||||
|
||||
@keyframes bullet-throb {
|
||||
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.5); }
|
||||
50% { transform: scale(1.6); box-shadow: 0 0 8px 2px rgba(42, 157, 143, 0.3); }
|
||||
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0); }
|
||||
0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(42, 157, 143, 0); }
|
||||
50% { transform: scale(1.5); box-shadow: 0 0 8px 2px rgba(42, 157, 143, 0.3); }
|
||||
}
|
||||
|
||||
.content-list li.in-view::before {
|
||||
animation: bullet-throb 0.6s ease-out;
|
||||
.content-list li::before {
|
||||
animation: bullet-throb 2.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.features-section--alt {
|
||||
|
||||
Reference in New Issue
Block a user