Animation to highlight text when scrolled into view

Is there a way to highlight text when scrolled into view as seen in this person’s portfolio?

https://tony-jin.com/html/works/eatxplore.html#research

Thanks!

Here is the code required to achieve this effect. It would just be a case of figuring out how to trigger this with a scroll interaction.

1 Like