Complete Card

Every state a real content card has: a lift that answers fast, artwork that drifts slow, one stretched link, a press, and a keyboard ring

Case study

The quiet redesign

How a two-week polish pass doubled trial signups.

Read more

Build my content card properly. Not a new effect, just every state a real card already needs. The texts are listed at the end; use those exact values. For colours, use my site's existing palette; everything below describes behaviour, not a look. Render only the card itself: artwork on top, then an eyebrow line, a title, one line of body copy, and a link label with an arrow. Do not add state names, captions, or any demo text around it. Structure: the markup stays an article with real text, and one stretched link makes the whole card clickable. Give the card position: relative, then add a single anchor with an aria-label naming the destination, absolutely positioned over the whole card (inset: 0). One link, one tab stop, and the copy underneath is still real selectable text. Do not wrap the entire card in an anchor tag. Two speeds is the craft. The card answers fast: transform 200ms and box-shadow 200ms, properties named one by one with an ease-out curve like cubic-bezier(0.22, 1, 0.36, 1), never transition: all. The artwork drifts slow: transform 400ms. When the two move at the same speed the card feels mechanical; when the surface answers first and the image catches up, it feels expensive. At rest: a soft shadow around 0 2px 6px at 10% opacity, a hairline border, and a consistent radius. On hover: the card lifts 4px with translateY only, no margin and no top, so nothing reflows. The shadow grows and softens at the same time, to roughly 0 12px 28px at 16%; growing without softening reads as a sticker. The artwork scales to about 1.06 inside its own clipped frame (overflow: hidden on the image wrapper), so the image zooms but the card never does. The arrow beside the link label slides 4px to the right, and it is the only element that moves on its own, pointing where the click goes. On press, via :active and pointerdown: scale the card to 0.99, drop the lift back, and tighten the shadow to around 0 3px 8px. The card should feel pressed into the page, not reset. Keyboard focus: style the stretched link with :focus-visible, not :focus, so the ring appears for keyboard users only. Draw it as a two-layer box-shadow on the card, an inner ring in the page background colour and an outer ring in your site's accent, so it stays visible on any surface. Set outline: none only after that ring exists. Under prefers-reduced-motion: no lift, no zoom, no arrow slide. Hover reads through the shadow change alone, and every state must still be distinguishable. Make it mine: - The eyebrow line reads "Case study". - The title reads "The quiet redesign". - The link label reads "Read more", with the arrow after it. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0
1person copied this prompt

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data