Anim Swing

Swing — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden). No JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.

xpert-ai c5e92e3 4 files · 3.7 KB Updated

File contents

Animate · Swing

Swing — CSS keyframe animation from Animate.css (Hippocratic License 2.1, © Daniel Eden). Part of motion-anything.

When to use it

  • A quick, drop-in CSS emphasis animation (no JS).

When NOT to use it (restraint)

  • Many at once / must-read content. Keep it restrained.

How to apply

  1. Copy swing.css. 2. Add class swing to the element + set animation-duration.

Accessibility & license

  • prefers-reduced-motion: disabled. Attribute Animate.css (Hippocratic-2.1).

xpert-ai/xpert-plugins/tree/main/xpertai/apps/motion/assets/upstream/recipes/css/anim-swing commit c5e92e32b1

Frequently asked questions

npx skillmds@latest add xpert-ai/anim-swing