StealThis .dev

Hover Card

A rich popover card that appears on hover over a trigger — shows user profile, link preview, or product info with a small entry delay to prevent flicker.

Open in Lab
css vanilla-js
Targets: JS HTML

Code

Hover Card

Richer than a tooltip — shows a mini content card on hover with a 200ms open delay to avoid accidental triggers.

Demo variants

  1. User profile — avatar, name, bio, follower count, follow button
  2. Link preview — site icon, title, description, URL
  3. Product preview — image, name, price, star rating

Behaviour

  • 200ms open delay prevents flicker when cursor passes over trigger
  • Positioned automatically below (or above if near viewport edge)
  • Arrow pointer via CSS ::before border trick
  • Closes when cursor leaves trigger or card