Layered parallax card
Also called: depth card / pop-out card
A card built from depth layers: as the mouse moves, or the phone tilts, the card turns and each layer shifts at its own speed. Front elements pop out of the frame. With no mouse, it sways on its own.

When to use it
Good for a project, destination, product or character cover, when the art can be split into layers with transparent backgrounds (PNG, WebP or SVG). Give each layer a data-prof: negative behind, positive in front. Layers with prof above 0 can leave the frame. The effect controls each layer's transform, so use margin or position for adjustments.
How to add it to your site
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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-camadas" style="width:320px;height:420px"><div data-prof="-40">fundo</div><div data-prof="0">meio</div><div data-prof="60">frente</div></div>
More cards effects
- Animated borderBorda girando
- 3D ring carouselCarrossel 3D
- Spatial carouselvision glass carousel
- Spotlight cardCartão com brilho
- Page curl cardpeel corner
- Profile cardreactive avatar / counter card
- Reactive dot grid card, interactive dot matrix hoverCartão de pontos reativos
- Product card with color swatchesspin