Scroll highlight text
Also called: scroll-linked text fill
A large paragraph starts dim and gets read word by word as the page scrolls. The current word lights up in blue and the previous ones stay solid.

When to use it
For a manifesto or intro paragraph right below the hero. Works with 25 to 45 words in large type; longer text gets tiring. With data-auto the reading plays by itself until the visitor scrolls, handy for showcases. Set data-estilo to marca for a highlighter behind the words.
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:
<p data-efeito="texto-pintar-rolagem">Seu parágrafo grande aqui.</p>
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