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.

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
- 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:
<h1 data-efeito="texto-janela" data-cena="serra">SERRA</h1>
More text effects
- Text shimmerBrilho no texto
- Number tickerContador animado
- Physics falling textgravity letters
- Wave textsplit text
- Text scrambleLetras embaralhando
- Scatter textrepel letters
- Line mask reveal on scrollLinhas que sobem com a rolagem
- Scroll velocity marqueekinetic headline ticker