vibran

Card stack

Also called: stacked cards

A stack of cards with the ones behind peeking out from above. Every few seconds, or on click, the front card tips back and goes to the bottom of the stack.

Preview of Card stack running live
Copy the promptAdjust colors and speed

When to use it

Good for real testimonials, quick tips or service steps when space is tight. Only the front card is readable, so don't hide key information in the ones behind. Set data-intervalo="0" to switch only on click when the text is long, and lower data-visiveis to show fewer cards behind.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="cartao-pilha"><div>Primeiro</div><div>Segundo</div><div>Terceiro</div></div>

Sites that use this effect

More cards effects

All 27 cards effects →