CSS Keyframes Animation Builder
Build CSS animations in a live studio: timeline, draggable keyframes, easing curves and 80+ animated presets. Copy CSS, HTML, React or Tailwind code. Free.
Still loading. If the tool doesn’t appear, reload this page.
Planned features and workflows
- AltF FontMotion
Coming soon
- AltF Robot Studio
Coming soon
About this tool
CSS Animation Generator
Generate animations for your projects in easy way
To make a CSS animation without writing code, open one of 80+ animated presets or start blank, move keyframes on the timeline, shape the easing curve and watch the preview update. Copy the @keyframes CSS, HTML, React, Tailwind or Framer Motion code, or save the animation. Everything runs in your tab: nothing is uploaded and no account is needed.
How to use CSS Keyframes Animation Builder
Open the Presets tab and search for a motion such as bounce or spinner, then press Open on a card to load that animation, or start from the blank 1s fade-up in the Studio tab.
Drag the diamonds on the timeline to retime keyframes, press Keyframe to add one at the playhead, and set X, Y, scale, rotate and opacity in the Properties panel while the preview updates at once.
Open the Easing tab, drag the two cubic-bezier handles or choose Spring or Bounce, and set duration, delay, repeat and direction in the Timing section.
Open the Code tab, choose CSS, HTML, React, Tailwind or Framer Motion, then press Copy; press Save to keep the animation in the Saved tab, or download the WebM or Lottie export.
Why use CSS Keyframes Animation Builder
The preview is the code
The live preview runs the same @keyframes and animation shorthand that the code panel prints, generated from one keyframe model. What you see is what the browser does with the CSS you copy, and the unit tests parse the generated CSS back to check it.
A real timeline, not just sliders
Each layer has keyframes you can add at the playhead, drag to retime, nudge with the arrow keys and delete. Position, scale, rotation, opacity, 3D tilt, blur, glow and hue animate together, and every change is undoable.
A visual easing editor
Drag the two cubic-bezier handles or pick Ease, Overshoot, Spring, Bounce, Elastic or Steps. Spring, bounce and elastic are written as CSS linear() functions with a fallback line for older browsers, and a segment between two keyframes can have its own curve.
Nothing leaves your browser
Projects, favourites and challenge progress are stored in this browser's localStorage only. If storage is blocked or full, the tool says so instead of pretending a save worked, and you can download the project file.
Common use cases
- Prototyping a hero fade-in, a loading spinner or a button press, then lifting the @keyframes block straight into your stylesheet
- Comparing easing curves (ease-out, a spring, a bounce) side by side on the same motion before committing a value to production CSS
- Building a multi-layer loader or particle effect with staggered delays and exporting it as one HTML file or React component
- Recording a short WebM clip of a motion idea to drop into a design review or a pull request
Frequently asked questions
How do I create a CSS animation without writing code?
Open a preset from the Presets tab or start blank in the Studio tab. Drag keyframes on the timeline or change values in the Properties panel, set the duration, delay, repeat count and easing, then copy the CSS from the Code panel. The @keyframes rule and the animation shorthand update as you edit.
Link to answerWhat can the studio animate?
Per keyframe: X and Y position, scale, rotation, opacity, horizontal and vertical stretch, skew, 3D tilt on both axes, blur, hue rotation and glow. Per layer: duration, delay, repeat (1 to 10 or infinite), direction, fill mode and easing. A project can hold up to 12 layers, such as the three dots of a loader.
Link to answerAre the search box and Surprise me AI?
No. Search matches your words against preset names, tags and categories, and Surprise me builds a random animation from a fixed set of motions and easings. Nothing is sent to an external service, and no model is involved.
Link to answerHow do I copy or download the generated code?
Open the Code panel, pick CSS, HTML, React, Tailwind or Framer Motion, then press Copy or Download. The page only confirms a copy after the browser accepted it, and tells you when copying is blocked. For CSS you can leave out the element styles to get just the @keyframes and the animation property.
Link to answerCan I export the animation as a video or Lottie file?
Yes. Video records a WebM of the animation drawn from the keyframes at 30 frames per second, 2 to 8 seconds long, with 3D tilt flattened. Lottie exports the selected layer's position, scale, rotation and opacity as animation.json; other properties are not part of that export and the panel lists which ones are skipped.
Link to answerWhat does the performance check mean?
It is a rule-of-thumb checklist, not a measurement of your page. The score starts at 100 and loses points for infinite repeats, durations under 0.5s, scale above 2, movement past 200px, blur or glow, hue changes and more than 8 layers. Animations that only use transform and opacity are marked as GPU friendly.
Link to answerCan the animation run on hover or click?
Yes. Set the trigger to On hover or On click in the Timing section. The exported CSS applies the animation under :hover (or an is-playing class toggled on click, with the script included in the HTML export), and the Try button in the preview lets you test it.
Link to answerWhat are the daily challenge and the animation of the day?
The animation of the day is a preset picked from the date, the same all day on every device. The daily challenge is a small task such as a bouncing ball or a spinner. It completes only when the animation you built meets every check in its list, read from your own keyframes; an unmodified preset never counts. Progress, streaks and achievements are computed from data on your device.
Link to answerIs this animation generator free, and do I need an account?
It is free with no sign-up and no upload step. The tool is a client-side React app: keyframes are plain data in your tab, and the preview, the code and the exports are all produced in the browser.
Link to answer