You use a setTimeout to trigger CSS entry animations. `@starting-style` makes it unnecessary.
🔒
https://dev.to
«Here is a pattern almost every frontend developer has written:
el.style.opacity = '0';
el.style.transform = 'translateY(8px)';
document.body.appendChild(el);
requestAnimationFrame(() => {
requestAnimationFrame((...»
Automatische Weiterleitung...
1.5s