Skip to content

Guide to implementing Disney's 12 animation principles using pure CSS keyframes, transitions, and transforms.

CCM score
49 of 100
skills.sh installs
812
GitHub stars
709
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers all 12 principles, from squash and stretch and anticipation through arc, timing, exaggeration, and appeal
  • Includes a CSS snippet for each principle plus a timing reference table for micro-interactions through complex animations
  • Provides a key properties list covering animation, transition, transform, offset-path, and animation-delay
  • Designed for front-end developers who want expressive motion without JavaScript animation libraries

Install

$ npx -y skills add dylantarre/animation-principles --skill css-native -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the css-native skill do?

The css-native skill implements Disney's 12 animation principles using pure CSS animations, transitions and transforms. It gives example code for each principle, such as squash and stretch with @keyframes, slow in and slow out with cubic-bezier easing, and arcs with offset-path.

How do I install the css-native animation skill?

Run npx -y skills add dylantarre/animation-principles --skill css-native -y in your project. Once installed, the agent can write CSS-only animations that follow the 12 Disney principles without a JavaScript animation library.

Which other skills lead the Animation & Motion category?

css-native sits in the Animation & Motion category on Claude Marketplaces, alongside remotion-render and the hyperframes skills. Where those cover rendering or framework-based motion, css-native focuses on plain CSS techniques that need no extra runtime.

Who should use the css-native skill?

It suits front-end developers who want motion built with native CSS rather than a library such as GSAP or Framer Motion. It also helps anyone learning how Disney's animation principles translate into keyframes, transitions and transforms.

More from dylantarre/animation-principles

All 144

Similar to Css Native

More Animation & Motion