web-animation-design

Design and review CSS and JavaScript web animations using easing, timing, and accessibility guidelines.

1|Updated May 25, 2026
One-click install
npx skills add https://github.com/EliteGentro/LeRe_Portfolio --skill web-animation-design-elitegentro
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-animation-design
Source: https://github.com/EliteGentro/LeRe_Portfolio/tree/main/.agent/skills/web-animation
Command: npx skills add https://github.com/EliteGentro/LeRe_Portfolio --skill web-animation-design-elitegentro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right easing curve, duration, and animation technique is hard, and poorly designed motion makes interfaces feel sluggish, janky, or inaccessible. This Skill provides concrete rules and code patterns for building web animations that feel natural and purposeful. ## Core Features & Use Cases - Easing and Timing Guidance: Decision flowcharts and duration tables for selecting ease-out, ease-in-out, ease, or spring physics based on interaction type. - Animation Reviews: Structured before/after markdown table reviews of existing animation code with concrete fixes. - Performance & Accessibility: Rules for GPU-accelerated transform/opacity animations, prefers-reduced-motion support, and touch-device hover handling. - Use Case: A developer's dropdown menu feels sluggish. The Skill identifies the 400ms ease-in transition, recommends a 200ms ease-out curve, sets the correct transform-origin, and adds a reduced-motion media query. ## Quick Start Review my dropdown menu animation code and suggest improvements to its easing, duration, and accessibility.

Frequently Asked Questions about web-animation-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right easing curve for UI animations?▼

Use ease-out for elements entering or exiting the screen, ease-in-out for elements already visible that need to move, and ease for hover and color transitions. Avoid ease-in for UI because its slow start delays visual feedback and feels sluggish.

What duration should CSS animations and transitions use?▼

Keep micro-interactions at 100-150ms, standard UI elements like tooltips and dropdowns at 150-250ms, and modals or drawers at 200-300ms. UI animations should generally stay under 300ms, with larger elements animating slightly slower.

When should I use spring animations instead of CSS transitions?▼

Use springs for drag interactions with momentum, interruptible gestures, and elements that should feel alive, since springs maintain velocity when interrupted. CSS transitions work better for simple, predetermined animations and run off the main thread.

How do I make animations accessible with prefers-reduced-motion?▼

Add a @media (prefers-reduced-motion: reduce) query for every animated element that sets animation or transition to none. In Framer Motion, use the useReducedMotion hook to conditionally disable initial animation states.

Why does my CSS animation look shaky or jittery?▼

Shakiness often comes from the GPU/CPU rendering handoff shifting elements by 1px at animation start or end. Adding will-change: transform keeps the element on the GPU throughout the animation and resolves the jitter.

Which CSS properties are safe to animate for performance?▼

Only animate transform and opacity, since they skip layout and paint stages and run on the GPU. Avoid animating padding, margin, width, height, or blur filters above 20px, which trigger expensive layout recalculations.