Parallax scroll
Portuguese name: Parallax na rolagem
Parallax scroll: layers of the section move at different speeds as the page scrolls, which creates a sense of depth.

When to use it
Adds depth to photo sections: a restaurant facade, a guesthouse landscape, a product in layers. High speeds make the image slide too far and expose its edges. Keep data-velocidade values small, and set data-zoom="sim" on background images.
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:
<section data-efeito="parallax"><img src="fundo.jpg" alt="" data-velocidade="-0.3"><h2 data-velocidade="0.2">Título</h2></section>
More scroll effects
- Marquee, logo loopFaixa infinita
- Tracing beam, scroll progressLinha que acompanha a rolagem
- Sticky scroll revealSeção grudada
- Text reveal on scrollTexto que acende na rolagem