Animation shorthand order
| Part | Example |
|---|---|
| name | fadeInUp |
| duration | 0.8s |
| timing function | ease-out |
| delay | 0s |
| iteration count | 1 or infinite |
| direction | normal |
| fill mode | both |
Related tools
Frequently asked questions
How do CSS animations work?
@keyframes defines the stages of the animation, and the animation property applies it to an element with a duration, timing and repeat count.
How do I use the generated CSS?
Paste it into your stylesheet and add the class (for example animate-fadeInUp) to the element.
What does fill-mode do?
It decides whether the element keeps the first or last keyframe styles before and after the animation – both is usually what you want for entrance effects.
Why include prefers-reduced-motion?
Some people get dizzy or distracted by motion. The media query switches animations off for users who ask their system to reduce motion.
Which properties animate smoothly?
transform and opacity, because browsers can run them on the GPU. Avoid animating width, top or margin.
How do I trigger an animation on scroll?
Add the class with a small IntersectionObserver script when the element becomes visible.
How do I make a hover animation?
Put the animation inside a :hover rule, or use transition for simple state changes.
What is the difference between transition and animation?
Transitions go between two states when a property changes; animations can have many steps, repeat and run on their own.
Can I chain animations?
Yes – list several animations separated by commas, using delays to sequence them.
What easing feels natural?
ease-out for things entering, ease-in for things leaving, and ease-in-out for movement on screen.
Is a JavaScript library needed?
No – everything here is plain CSS.
Are these animations copied from a library?
No – the keyframes are written for Docelora; effect names follow common naming.
Is it free?
Yes – no sign-up and no attribution needed.
Can I use the result commercially?
Yes. What you create is yours to use in any project.
Is anything uploaded?
No. Everything is generated in your browser; any image you choose stays on your device.
Does it work on a phone?
Yes – the controls stack on small screens and the preview updates as you change them.
Which browsers support the CSS?
The output uses standard CSS supported by all current browsers; notes on the page mention any exceptions.
How do I copy the code?
Use the Copy button under the code, or Download to save it.
Can I suggest a feature?
Yes – use the Contact page.
Do I need to credit Docelora?
No credit is needed.
Last reviewed: 15 November 2026.