Respect a user's reduced-motion preference
Example input
Generate an animation, then inspect its reduced-motion rule.Expected result
@media (prefers-reduced-motion: reduce)The generated stylesheet includes a reduced-motion media query. Keep that guard when adapting the animation and check its effect with the browser's motion preference emulation. The line above identifies the guard rather than a complete animation. Review the full keyframes, duration and repetition settings before integrating the result.