Agent Skills
› nexu-io/motion-anything
› anim-fadeoutright
anim-fadeoutright
GitHub提供无需JS的CSS淡出右侧退出动画,源自Animate.css。支持prefers-reduced-motion无障碍设置,需遵守Hippocratic-2.1许可并标注来源。建议克制使用,避免在大量元素或关键阅读内容上滥用。
Trigger Scenarios
需要添加CSS退出动画
寻求无JavaScript的轻量级动画方案
Install
npx skills add nexu-io/motion-anything --skill anim-fadeoutright -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/github.com\/animate-css\/animate.css",
"design_system": {
"requires": false
},
"example_prompt": "Apply fadeOutRight (Animate.css) to the element as a exit animation, restrained, with a\nprefers-reduced-motion fallback. Attribute Animate.css."
},
"name": "anim-fadeoutright",
"triggers": [
"fadeoutright",
"css animation",
"退出动效"
],
"description": "Fade Out Right — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden).\nNo JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.\n"
}
Animate · Fade Out Right
Fade Out Right — 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 exit animation (no JS).
When NOT to use it (restraint)
- Many at once / must-read content. Keep it restrained.
How to apply
- Copy
fadeOutRight.css. 2. Add classfadeOutRightto the element + setanimation-duration.
Accessibility & license
prefers-reduced-motion: disabled. Attribute Animate.css (Hippocratic-2.1).
Version History
- b016900 Current 2026-07-11 17:03


