Agent Skills
› nexu-io/motion-anything
› fade-content
fade-content
GitHub为元素提供进入视口时的淡入上升动画效果。轻量无依赖,支持通过--fc-delay实现交错延迟,自动触发且兼容减少运动偏好设置。
Trigger Scenarios
需要内容入场动画
追求简洁视觉呈现
Install
npx skills add nexu-io/motion-anything --skill fade-content -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "fade-content",
"triggers": [
"fade in on view",
"reveal on scroll",
"进入视口淡入",
"滚动淡入"
],
"description": "Content fades and rises gently as it enters the viewport — the calm default reveal. Reveal a few key blocks, not everything; keep travel small. Instant under prefers-reduced-motion.\n"
}
fade-content
Fade + rise on view. Dependency-free, reduced-motion safe.
How to apply
Copy the css+js; add class fade-content (optional --fc-delay for stagger). Auto-reveals once on view.
Version History
- b016900 Current 2026-07-11 17:08


