vibran

Glassmorphism card

Portuguese name: Cartão de vidro

A glassmorphism card made of frosted glass that blurs what's behind it, with a light border and a sheen that sweeps across when the mouse passes over.

Preview of Glassmorphism card running live
Copy the promptAdjust colors and speed

When to use it

Works over photos, video or an animated background: a price over a property photo, opening hours over a restaurant shot. On a flat background there's nothing to blur. If the image behind is busy, raise --vidro-desfoque and darken --vidro-cor so the text stays readable.

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 class="cartao" data-efeito="cartao-vidro">...</div>

Sites that use this effect

More cards effects

All 27 cards effects →