Card Lift Hover

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.

Nexu Updated 108k repo stars
motion-anything — Anything becomes motion, on your laptop. Editorial dark banner with light-mode app windows: the component-motion workbench and the launch-vide

File contents

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.

nexu-io/motion-anything commit e063803b43

Frequently asked questions

npx get-skill add nexu-io/card-lift-hover