Agent Skills
› nexu-io/motion-anything
› anim-fadeout
anim-fadeout
GitHub提供基于 Animate.css 的无 JS CSS 淡出动画。通过添加 fadeOut 类实现元素退出效果,支持自定义时长,尊重 prefers-reduced-motion 设置,需注明版权信息,建议适度使用以避免干扰阅读。
Trigger Scenarios
需要为 HTML 元素添加淡出退出动画
寻找无需 JavaScript 的纯 CSS 过渡效果
Install
npx skills add nexu-io/motion-anything --skill anim-fadeout -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 fadeOut (Animate.css) to the element as a exit animation, restrained, with a\nprefers-reduced-motion fallback. Attribute Animate.css."
},
"name": "anim-fadeout",
"triggers": [
"fadeout",
"css animation",
"退出动效"
],
"description": "Fade Out — 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
Fade Out — 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
fadeOut.css. 2. Add classfadeOutto 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


