animation
CSS Fade-In & Entrance Animations
Smooth fade-in, fade-up, and fade-scale entrance animations using @keyframes and animation-fill-mode.
Entrance animations make content feel intentional and polished rather than appearing abruptly. The fade-up pattern — combining opacity with a small translateY — is the most natural-feeling entrance animation in UI design. Using animation-fill-mode: both ensures the element starts in its 'from' state before the animation begins, preventing a flash of the final state.
Usage Note
Use animation-fill-mode: both (shorthand keyword 'both') so elements start invisible before the animation begins — without it, elements flash visible for a moment before the keyframe starts. Add animation-delay to stagger multiple elements.
Tags
#fade-in#entrance#animation#keyframes#opacity#transform