How to use the CSS Animation Generator
- Pick an animation such as Fade in up, Bounce or Pulse.
- Set the duration, delay, timing function, number of repeats, direction and fill mode.
- Watch the preview, press Replay to see it again, and rename the class to fit your project.
- Copy the
@keyframesrule and the class, then add the class to any element.
Tips
- Entrance animations (fade, slide, zoom) usually feel best between 300 and 800 ms with
ease-out. - Use
bothas the fill mode so the element starts hidden and stays in its final state. - Keep the
prefers-reduced-motionrule: some people get dizzy from movement on screen. - Animate
transformandopacity: they are cheap for the browser and stay smooth.
Need a custom easing curve? Build one with the cubic-bezier generator and paste it into the timing function.
Everything runs in your browser: nothing you type or paste is sent to a server.