css-animations

Author deterministic CSS keyframe animations that HyperFrames can seek during preview and rendering.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gmolike/Claude-Template --skill css-animations-gmolike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: css-animations
Source: https://github.com/gmolike/Claude-Template/tree/main/.agents/skills/css-animations
Command: npx skills add https://github.com/gmolike/Claude-Template --skill css-animations-gmolike

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? CSS animations normally run on wall-clock time, which breaks frame-accurate video rendering. This Skill provides patterns for writing CSS keyframe animations that HyperFrames can deterministically seek, pause, and scrub during preview and rendering. ## Core Features & Use Cases - Seekable Animation Contract: Rules for data-start, finite animation-duration, animation-iteration-count, and animation-fill-mode: both so the css runtime adapter can control playback. - Stagger Pattern: Use CSS custom properties like --i with animation-delay to stagger repeated elements without duplicating keyframes. - Use Case: Add a pulsing ring or shimmering background layer to a HyperFrames composition that must render identically at any seeked frame, without writing a full GSAP timeline. ## Quick Start Add a CSS keyframe animation to my HyperFrames clip element with data-start and a finite duration so it can be seeked deterministically.

Frequently Asked Questions about css-animations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make CSS animations seekable in HyperFrames?

Give the animated element a data-start value, a finite animation-duration and animation-iteration-count, and animation-fill-mode: both. The css adapter discovers elements with a computed animation-name and seeks their browser Animation handles, falling back to pausing with negative animation-delay.

When should I use CSS animations instead of GSAP in HyperFrames?

Use CSS animations for simple one-element motion with a fixed duration, such as decorative loops, shimmer, glow, or masks. Use GSAP for scene choreography and sequenced timelines where multiple elements must be coordinated.

Can I use infinite CSS animations in a HyperFrames composition?

Avoid infinite animations unless you have verified the browser exposes seekable WAAPI-backed CSS animation handles. The negative-delay fallback cannot represent unbounded duration, so prefer a finite iteration count covering the visible duration.

How do I stagger CSS animations without duplicating keyframes?

Set a custom property like --i on each element and use animation-delay: calc(var(--i) * 120ms) with a single shared keyframes rule. This staggers repeated elements such as dots or list items with one animation definition.

Why does my CSS animation render incorrectly when seeking?

Common causes are missing animation-fill-mode: both, infinite iteration counts, or class toggles triggered by hover or other user events. Also avoid animating layout properties like top or width when transforms would work.