css-native
Skill94 starsChanged 11 months agoMITView on GitHub
Use when implementing Disney's 12 animation principles with pure CSS animations and transitions
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AThevon/genjutsutheir own version, first seen Sep 28, 2026
- Jwuthri/Tracely-aitheir own version, first seen Jul 28, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Jwuthri/Tracely-ai★ 1.5ksame name
- AThevon/genjutsu★ 399same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository144 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- 3d-spatialSkill
- accessible-motionSkill
- brand-marketingSkill
- data-visualizationSkill
- game-developmentSkill
- micro-interactionsSkill
- mobile-touchSkill
- page-transitionsSkill
- presentationsSkill
- universal-fallbackSkill
- video-motion-graphicsSkill
- web-motion-designSkill
- anticipation-payoffSkill
- attention-directionSkill
- character-appealSkill
- emotional-narrativeSkill
- exaggerated-claritySkill
- naturalistic-motionSkill
- physics-intuitionSkill
- problem-diagnosisSkill
- rhythm-pacingSkill
- spatial-thinkingSkill
- timing-masterySkill
- universal-mindsetSkill
- accessibility-advocateSkill
- animator-traditionalSkill
- brand-strategistSkill
- creative-directorSkill
- educator-teacherSkill
- filmmakerSkill
- frontend-developerSkill
- game-designerSkill
- motion-designerSkill
- product-managerSkill
- universal-practitionerSkill
- ux-researcherSkill
- Animation Principles - Absolute BeginnerSkill
- Animation Principles - AdvancedSkill
- Animation Principles - Deep DiveSkill
- Animation Principles - ExpertSkill
- Animation Principles - IntermediateSkill
- Animation Principles - MasterSkill
- Animation Principles - NoviceSkill
- Animation Principles - Quick StartSkill
- Animation Principles - RefresherSkill
- Animation Principles - Teaching OthersSkill
- Animation Principles - TroubleshootingSkill
- Animation Principles - Universal ReferenceSkill
- attention-grabbersSkill
- continuous-loopsSkill
- entrance-animationsSkill
- exit-animationsSkill
- feedback-indicatorsSkill
- gesture-responsesSkill
- hover-interactionsSkill
- loading-statesSkill
- scroll-animationsSkill
- state-changesSkill
- transition-sequencesSkill
- The first 60 shown.
The file
Files
CSS Native Animation Principles
Implement all 12 Disney animation principles using CSS animations, transitions, and transforms.
1. Squash and Stretch
@keyframes squash-stretch {
0%, 100% { transform: scaleX(1) scaleY(1); }
50% { transform: scaleX(1.2) scaleY(0.8); }
}
.ball { animation: squash-stretch 0.3s ease-in-out; }2. Anticipation
@keyframes anticipate-jump {
0% { transform: translateY(0); }
20% { transform: translateY(10px) scaleY(0.9); } /* wind up */
100% { transform: translateY(-100px); }
}3. Staging
.hero { z-index: 10; filter: none; }
.background { z-index: 1; filter: blur(2px); opacity: 0.7; }4. Straight Ahead / Pose to Pose
/* Pose to pose - define keyframes explicitly */
@keyframes walk-cycle {
0% { background-position: 0 0; }
25% { background-position: -100px 0; }
50% { background-position: -200px 0; }
75% { background-position: -300px 0; }
100% { background-position: -400px 0; }
}5. Follow Through and Overlapping Action
.character { animation: move 0.5s ease-out; }
.hair { animation: move 0.5s ease-out 0.05s; } /* slight delay */
.cape { animation: move 0.5s ease-out 0.1s; }6. Slow In and Slow Out
.element {
transition: transform 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}
/* Or use: ease-in-out, ease-in, ease-out */7. Arc
@keyframes arc-motion {
0% { transform: translate(0, 0); }
50% { transform: translate(100px, -80px); }
100% { transform: translate(200px, 0); }
}
/* Use offset-path for true arcs */
.element { offset-path: path('M0,100 Q100,0 200,100'); }8. Secondary Action
.button:hover {
transform: scale(1.05);
}
.button:hover .icon {
animation: wiggle 0.3s ease-in-out;
}9. Timing
.fast { animation-duration: 0.15s; }
.normal { animation-duration: 0.3s; }
.slow { animation-duration: 0.6s; }
.dramatic { animation-duration: 1.2s; }10. Exaggeration
@keyframes exaggerated-bounce {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-150px) scale(0.8, 1.3); }
}11. Solid Drawing
.element {
transform-style: preserve-3d;
perspective: 1000px;
}
.face { transform: rotateY(20deg); }12. Appeal
.appealing {
border-radius: 50%;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.appealing:hover {
transform: scale(1.02);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}Timing Reference
| Action | Duration |
| Micro-interaction | 100-200ms |
| Button feedback | 150-300ms |
| Page transitions | 300-500ms |
| Complex animations | 500-1000ms |
Key CSS Properties
animation/@keyframestransitiontransformoffset-path(motion paths)animation-timing-functionanimation-delay
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

