vibran

Knockout text

Also called: image-through-text parallax

The letters become a window onto a layered landscape: the sun, the ridge and the forest move at different speeds when the mouse moves, and on their own when nobody touches.

Preview of Knockout text running live
Copy the promptAdjust colors and speed

When to use it

For tourism, nature, fashion and personal-brand covers: a single word in a very heavy, huge font. The bigger the letters, the more of the landscape shows. With data-imagem you can put one of your own photos in place of the built-in scene. Use a dark or plain background around it so the cut-out reads well. Switch to data-cena="aurora" for a colored-light version.

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:

<h1 data-efeito="texto-janela" data-cena="serra">SERRA</h1>

More text effects

All 27 text effects →