vibran

Animated border

Portuguese name: Borda girando

A beam of light travels around the card's border in a continuous loop.

Preview of Animated border running live
Copy the promptAdjust colors and speed

When to use it

Highlights a single card: the recommended plan in a pricing table, the deal of the week, an open job. On several cards at once the spinning lights compete and nothing stands out. The element needs its own border-radius; slow it down with --borda-tempo on sober pages, and raise --borda-largura if the line disappears on small screens.

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="borda">...</div>

Sites that use this effect

More cards effects

All 27 cards effects →