CSS Native Animations
A zero-dependency playbook for scroll-driven animations, View Transitions, @starting-style and other modern CSS motion techniques.
Design & UIIntermediate★ 950⑂ 69AI score 9/10Last updated: Nov 16, 2026
What it does
- Gives a decision table for choosing CSS-native techniques versus GSAP / Framer Motion.
- Provides working snippets for scroll-driven animation (
animation-timeline: scroll()/view(),animation-range). - Covers the View Transitions API for both SPA and MPA,
@starting-stylewithtransition-behavior: allow-discrete, CSS anchor positioning, and container-query-driven animations. - Adds advanced visual recipes (
clip-pathreveals,backdrop-filterglass,mix-blend-mode, mesh and conic gradients) plus a BAD/GOOD anti-pattern table.
Who it's for
- Frontend developers trying to cut animation-library weight from their bundles.
- UI engineers adding motion to landing pages and design systems.
- Teams adopting cutting-edge CSS who still need progressive-enhancement fallbacks.
Example uses
- "Build a scroll progress bar with pure CSS" → emits a
scroll(root block)timeline wrapped in@supports. - "Animate my dialog in from
display: none" → applies@starting-styleplusallow-discretetransitions. - "Make the hero image morph between list and detail pages" → sets up matching
view-transition-namevalues for a cross-document transition.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/AThevon/genjutsu/HEAD/skills/_jutsu/css-native/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/_jutsu/css-native folder from the GitHub repo AThevon/genjutsu into my ~/.claude/skills/css-native/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/AThevon/genjutsu.git /tmp/genjutsu && mkdir -p ~/.claude/skills && cp -r /tmp/genjutsu/skills/_jutsu/css-native ~/.claude/skills/css-native⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/AThevon/genjutsu.git /tmp/genjutsu - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/genjutsu/skills/_jutsu/css-native ~/.claude/skills/css-native - Confirm the
references/subfolder came along with it. - Restart Claude Code and try a prompt like "add a scroll-driven reveal animation using native CSS".
View source on GitHub ↗License: NOASSERTION