About this tool
CSS Animation Generator builds a ready-to-paste @keyframes block together with the animation declaration that uses it. Pick one of five presets: fade in, slide in, bounce, spin or pulse. Then choose a timing function (ease, linear, ease-in, ease-out or ease-in-out), a duration from 0.2 to 5 seconds and an iteration count of 1, 2, 3 or infinite. A small gradient square plays the animation live, and Replay restarts it from the first frame.
The copied CSS contains the keyframes, named uw-fade, uw-slide, uw-bounce, uw-spin or uw-pulse, followed by a .element rule such as animation: uw-bounce 1.5s ease infinite; rename .element to your own selector. Fade goes from opacity 0 to 1, slide moves in from 100px to the left, bounce rises 40px at the midpoint and returns, spin turns a full 360 degrees and pulse scales up to 1.4 and back. All of them use opacity or transform, which browsers can animate smoothly.
The shorthand sets only the name, duration, timing function and iteration count. It adds no delay, direction or fill-mode, so edit it if you need those. Custom curves such as cubic-bezier() are not offered either. If you animate things that move a lot, consider wrapping the rule in a prefers-reduced-motion check so people who have turned off motion are not forced to see it.