CSS Native Animations
Build scroll-driven animations, page transitions, and popover effects with modern CSS only — no GSAP or Framer Motion needed.
Design & UIIntermediate★ 330⑂ 27AI score 9/10Last updated: Jul 31, 2026
What it does
- Gives ready-to-use patterns for scroll-driven animations (
animation-timeline: scroll()/view()) andanimation-range. - Covers the View Transitions API for both SPA and MPA,
@starting-style,transition-behavior: allow-discrete, CSS anchor positioning, and container-query-driven animations. - Includes visual technique recipes: clip-path reveals, backdrop-filter glass, mix-blend-mode, mesh and conic gradients.
- Provides a decision table for when native CSS is enough vs. when to reach for GSAP or Framer Motion.
- Lists concrete anti-patterns with reasons (no
transition: all, no animating layout properties, always add@supportsfallbacks).
Who it's for
- Frontend developers trimming animation libraries out of their bundle.
- UI engineers who want to adopt modern CSS features safely in production.
- Anyone animating dialogs, popovers, and tooltips without JS timing hacks.
Examples
- "Add a scroll progress bar with zero JS" → generates a
scroll(root block)timeline. - "Make the card image morph into the detail page hero" → sets up cross-document
view-transition-namepairs. - "My modal fade-out is skipped when it closes" → applies
@starting-styleplusallow-discrete.
· · · 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 Claude 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/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/AThevon/genjutsu.git /tmp/genjutsu - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/genjutsu/skills/_jutsu/css-native ~/.claude/skills/ - Confirm
references/modern-css.mdcame along — it holds the browser-support and fallback tables. - Restart Claude Code and ask something like "build a scroll-driven reveal in pure CSS" to confirm the skill triggers.
View source on GitHub ↗License: MIT