Skill library

Agent skill Web motion

Scroll Experience

Design or implement effects that respond to scrolling on a web page.

  • Scroll animation
  • Framer Motion
  • GSAP

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add sickn33/antigravity-awesome-skills --skill scroll-experience --agent claude-code --yes

Check this file in your project.claude/skills/scroll-experience/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add sickn33/antigravity-awesome-skills --skill scroll-experience

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use semantic HTML and CSS. Enable the native scroll animation only when animation-timeline: view() is supported and spatial motion is allowed.

View operation manual

What this skill helps with

  • Design or implement effects that respond to scrolling on a web page.

Good for

  • Scroll-driven storytelling
Publisher
sickn33
Controls
animation-timeline: view() · animation-range: entry 0% cover 40% · @supports
Result
The decorative view timeline tracks the viewport in supporting browsers and the story stands alone in fallback mode.
Skill name
scroll-experience

Common pitfall

Avoid this prompt

Apply a hidden animation start state globally before checking timeline support.

A complete static story is needed when CSS timelines or optional motion are unavailable.

Use these steps

  1. Inspect the project and source
  2. Apply the motion recipe
  3. Verify behavior and fallback

Project walkthrough

Add one progressive, native view-timeline reveal to a readable scroll story.

Add one progressive, native view-timeline reveal to a readable scroll story.

  1. Inspect the project and source

    Use semantic HTML and CSS. Enable the native scroll animation only when animation-timeline: view() is supported and spatial motion is allowed.

    Prompt · Step 1
    Use Scroll Experience on [my lake observation story]. Read references/detailed-guide.md, especially CSS Native and Story Beats. Identify the hook, context, one meaningful transition and the end link. Choose one decorative reveal layer and keep the main text moving with normal document flow.
  2. Apply the motion recipe

    Add one progressive, native view-timeline reveal to a readable scroll story.

    Prompt · Step 2
    Write the readable default first. In an @supports (animation-timeline: view()) block with no-preference motion, animate the decorative layer with animation-timeline: view() and animation-range: entry 0% cover 40%. Declare the timeline after the animation shorthand. Let the body, text and links behave normally.
  3. Verify behavior and fallback

    The decorative view timeline tracks the viewport in supporting browsers and the story stands alone in fallback mode.

    • The decorative view timeline tracks the viewport in supporting browsers and the story stands alone in fallback mode.
    Prompt · Step 3
    Scroll down and back up and inspect the reveal’s settled state. Test a narrow window and reduced motion. Disable the enhancement as a fallback test and confirm the entire story and final link remain visible.

Implementation lookup

Compare the implementation with the recipe and its expected outcome.

Inspect the implementation controlsVerify
Command or reference
animation-timeline: view() · animation-range: entry 0% cover 40% · @supports
Examples
The decorative view timeline tracks the viewport in supporting browsers and the story stands alone in fallback mode.

FAQ

What should I prepare first?

Use semantic HTML and CSS. Enable the native scroll animation only when animation-timeline: view() is supported and spatial motion is allowed.

How do I verify the result?

The decorative view timeline tracks the viewport in supporting browsers and the story stands alone in fallback mode.