OpenParable
Skip to content
← Back to skills

Card Lift Hover

Design
card-lift-hover

Card Lift Hover is an Agent Skill for design published in the nexu-io/motion-anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Lift a clickable card toward the viewer on hover with a deepening shadow — a tactile, responsive cue. Pure CSS, no JS. Only use on actually-clickable cards (motion implies clickability). Honors prefers-reduced-motion (static). Avoid on very dense grids where many lifts feel noisy.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nexu-io/motion-anything/blob/HEAD/recipes/web/card-lift-hover/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/card-lift-hover, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

card-lift-hover

A clickable card that lifts on hover. Pure CSS. Part of motion-anything; obeys MOTION-SPEC.md.

When to use it

  • Clickable cards / tiles in a grid that should feel tactile.

When NOT to use it (restraint)

  • Non-interactive cards — the lift implies it is clickable.
  • Very dense grids where many simultaneous lifts feel noisy.

How to apply

  1. Copy card-lift-hover.css and link it.
  2. Add the class: <a class="lift-card" href="…">…</a>. No JavaScript needed.

Accessibility & performance

  • prefers-reduced-motion: no lift (a subtle shadow change remains). Transform + shadow only.