Line mask reveal on scroll
Portuguese name: Linhas que sobem com a rolagem
The headline is split along the lines where it actually wraps, and each line slides up from behind a mask, one after another, at the pace of the scroll. Scrolling back retracts the lines.

When to use it
For section headings of two to five lines in big type, mostly on brand, architecture and portfolio sites. Lines are computed from the current width, so they rebuild when a phone rotates. With data-modo="alternar" lines enter from the sides; with data-auto the reveal loops until the visitor scrolls.
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:
<h2 data-efeito="texto-linhas-rolagem" data-modo="alternar">Seu título em várias linhas</h2>
More text effects
- Text shimmerBrilho no texto
- Number tickerContador animado
- Physics falling textgravity letters
- Wave textsplit text
- Text scrambleLetras embaralhando
- Scatter textrepel letters
- Scroll velocity marqueekinetic headline ticker
- Highlightermarker