Performance: Animation delay
MEDIUM IMPACT
Animation delay affects how soon an animation starts after being triggered, impacting perceived responsiveness and visual stability.
<div class="animate-fadeIn delay-[500ms] will-change-opacity">Content</div><div class="animate-fadeIn delay-[500ms]">Content</div>| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Animation delay on layout-affecting properties | Minimal | Multiple reflows when animation starts | High paint cost | [X] Bad |
| Animation delay on opacity with will-change | Minimal | Single reflow | Low paint cost | [OK] Good |