vibran

Venetian blind image hover, slat image effect

Portuguese name: Imagem persiana

Venetian blind image: the photo is cut into vertical slats. Near the pointer they rotate like blind slats and open dark gaps; on leave they close into the full photo again.

Preview of Venetian blind image hover, slat image effect running live
Copy the promptAdjust colors and speed

When to use it

Galleries, portfolio covers and photo showcases. Give the container an aspect-ratio and put an img inside; the original img becomes invisible and keeps the alt. Tune data-tiras, data-giro and data-alcance. On touch screens the photo stays whole, with no effect.

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="imagem-persiana" style="aspect-ratio:16/10"><img src="foto.webp" alt="Descrição da foto"></div>

More mouse effects

All 14 mouse effects →