Loading...
Loading...
CSS animation fill-mode requirements for Editframe timeline system. Use when creating CSS animations, debugging flashing/flickering issues, or when user mentions animation problems, fade effects, slide effects, or sequential animations.
npx skill4agent add editframe/skills css-animationsanimation.currentTimeef-textef-text-segmentbackwardsnone/* ✅ Just write the animation — fill-mode is handled */
ef-text {
animation: fade-in 1s 500ms;
}
.my-segment-class {
animation: slide-up 800ms var(--ef-stagger-offset);
}/* Explicit exit animation that needs forwards */
.my-segment-class {
animation: fade-out 500ms forwards;
}backwards/* ❌ Element shows natural state during delay */
animation: fade-in 1s 500ms;
/* ✅ Holds initial keyframe during delay */
animation: fade-in 1s 500ms backwards;forwards/* ❌ Element snaps back after fading out */
animation: fade-out 500ms;
/* ✅ Holds final keyframe after animation ends */
animation: fade-out 500ms forwards;bothanimation:
fade-in 1s backwards,
fade-out 500ms calc(var(--ef-duration) - 500ms) forwards;
/* or */
animation: fade-in-out 2s both;🎬 Editframe Animation Fill-Mode Warning
⚠️ Animation "fade-in" has a 500ms delay but no 'backwards' fill-mode.
Fix: Add 'backwards' or 'both' to the animation shorthand.noneforwardsbackwardsbothanimation.currentTimeelements/packages/elements/src/elements/EFText.tsupdateAnimations.ts