Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dylantarre avatar

Css Native

  • 490 installs
  • 68 repo stars
  • Updated December 30, 2025
  • dylantarre/animation-principles

css-native is a Claude Code skill that implements Disney's 12 animation principles using pure CSS transitions, keyframes, and transforms for developers who want lightweight UI motion without JavaScript animation librarie

About

css-native is a skill from dylantarre/animation-principles that maps all 12 Disney animation principles to pure CSS implementations. Each principle includes copy-ready @keyframes and class examples—squash-and-stretch scale transforms, anticipation wind-up translateY offsets, staging compositions, and additional motion patterns using transitions and transforms only. Developers invoke it when polishing micro-interactions, hero animations, or scroll-driven effects without adding GSAP, Framer Motion, or similar dependencies. The skill favors native CSS animations, view transitions, and scroll-timeline features for performant, accessible motion in web apps and marketing sites. Use css-native when JavaScript animation weight is undesirable but professional motion quality is still required.

  • Uses transitions and @keyframes for micro-interactions
  • Applies transform and opacity for GPU-friendly motion
  • Leverages modern CSS like scroll-driven and view transitions
  • Minimizes JS bundle cost versus canvas or timeline libs
  • Documents fallbacks for older browsers and reduced motion

Css Native by the numbers

  • 490 all-time installs (skills.sh)
  • Ranked #627 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dylantarre/animation-principles --skill css-native

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs490
repo stars68
Last updatedDecember 30, 2025
Repositorydylantarre/animation-principles

How do you implement UI animation with pure CSS?

Ship lightweight UI motion using CSS transitions, keyframes, scroll-driven animations, and view transitions without adding heavy JavaScript animation frameworks.

Who is it for?

Frontend developers who want Disney-quality motion using only CSS transitions and keyframes in performance-sensitive web UIs.

Skip if: Complex timeline choreography or physics simulations that require GSAP, Rive, or canvas-based animation engines.

When should I use this skill?

The user requests CSS-only animations, keyframe micro-interactions, scroll-driven motion, or Disney animation principles without JS libraries.

What you get

CSS @keyframes rules, transition classes, scroll-driven animation snippets, and view-transition patterns for 12 animation principles.

  • css @keyframes snippets
  • transition utility classes
  • scroll-driven animation patterns

By the numbers

  • Implements all 12 Disney animation principles with pure CSS

Files

SKILL.mdMarkdownGitHub ↗

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

ActionDuration
Micro-interaction100-200ms
Button feedback150-300ms
Page transitions300-500ms
Complex animations500-1000ms

Key CSS Properties

  • animation / @keyframes
  • transition
  • transform
  • offset-path (motion paths)
  • animation-timing-function
  • animation-delay

Related skills

How it compares

Pick css-native for dependency-free CSS motion; pick a JavaScript animation skill when complex timeline sequencing or physics requires a dedicated runtime library.

FAQ

How many animation principles does css-native cover?

css-native implements all 12 Disney animation principles using pure CSS animations, transitions, and transforms, with copy-ready @keyframes examples such as squash-and-stretch and anticipation wind-ups.

Does css-native require JavaScript animation libraries?

css-native does not require JavaScript animation libraries; motion is built with CSS @keyframes, transitions, transforms, scroll-driven animations, and view transitions for lightweight frontend performance.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.