Liquid glass card
Also called: glass refraction card
A glass card that bends what is behind it like a lens: edges curve and split the colors, and a rim light turns to follow the mouse. You can drag the card over the content.

When to use it
Good for payment, player, notification or pricing cards that sit over photos, video and colorful backgrounds. The refraction only shows with varied content behind it (text, shapes, images). Works in Chrome and Edge; in Safari and Firefox it falls back to plain frosted glass. Use data-refracao for the curve strength and data-dispersao="0" if the split colors bother you.
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 style="position:relative;height:400px">...conteúdo colorido...<div data-efeito="cartao-vidro-liquido" style="position:absolute;inset:0;margin:auto;width:300px;height:180px">Texto do cartão</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