agentsclimarketplace

Css motion fundamentals

Skill swd3k/skills/agent-skills/web-design/css-motion-fundamentals

Add purposeful CSS/JS motion: hover, enter, scroll reveals, without harming performance or a11y. Use when animating UI, fixing jank, or reducing motion.From its SKILL.md

Install
npx -y skills add swd3k/skills --skill css-motion-fundamentals

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

0.9 KB, 190 tokens by cl100k_base, as published. Nobody here has run it

CSS Motion Fundamentals

Principles

  • Motion explains state change; it is not decoration tax
  • Animate transform and opacity primarily
  • 150–300ms UI; longer only for narrative hero
  • prefers-reduced-motion: reduce → instant final state

Patterns

  • Hover: 120–180ms ease-out
  • Enter: fade+raise 8–16px
  • Scroll reveal: once, subtle, staggered children ≤ 60ms
  • Page transitions: optional; never block content

Performance

  • Avoid animating large blur/box-shadow continuously
  • Pause offscreen loops
  • One scroll library max

Pitfalls

  • Infinite bounce attention spam
  • Scroll-jacking without purpose
  • Motion required to read content

Acceptance

  • Reduced-motion path verified
  • No layout thrash in DevTools performance sample

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.