Agent Skills
› nexu-io/motion-anything
› anim-rollin
anim-rollin
GitHub提供无需JS的CSS入场动画Roll In,源自Animate.css。支持prefers-reduced-motion无障碍适配,需遵守Hippocratic-2.1许可。建议克制使用,避免在大量或关键阅读内容中滥用。
触发场景
需要快速添加CSS入场动画
希望实现无JavaScript的滚动进入效果
安装
npx skills add nexu-io/motion-anything --skill anim-rollin -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 rollIn (Animate.css) to the element as a entrance animation, restrained, with a\nprefers-reduced-motion fallback. Attribute Animate.css."
},
"name": "anim-rollin",
"triggers": [
"rollin",
"css animation",
"入场动效"
],
"description": "Roll In — 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 · Roll In
Roll In — 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 entrance animation (no JS).
When NOT to use it (restraint)
- Many at once / must-read content. Keep it restrained.
How to apply
- Copy
rollIn.css. 2. Add classrollInto the element + setanimation-duration.
Accessibility & license
prefers-reduced-motion: disabled. Attribute Animate.css (Hippocratic-2.1).
版本历史
- b016900 当前 2026-07-11 17:04


