Free online tools

CSS Keyframes Generator

Generate a named animation and copy its keyframes and application rule.

Enter your values

This tool processes your input in your browser.

Result

Define the start and end values

The 0% rule controls the starting state and the 100% rule the end. Choose the property you want to animate and enter values in the units shown for that option.

Respect a reduced-motion preference

The generated media query turns the example animation off when the visitor requests reduced motion. Review the resulting starting and ending states in the page.

Frequently asked questions

Can I animate several properties together?

Paste the generated block into your stylesheet and add the corresponding properties to the same keyframe rules.