Jump to content
Search Community

mos

Members
  • Posts

    2
  • Joined

  • Last visited

mos's Achievements

  1. Thanks so much Cassie! I made a small change to the script so that it can intercept the data-attribute and an array to insert multiple words at once. https://codepen.io/qurtopianodesign/pen/VwNpNyN?editors=0011
  2. Hi, I created a ScrollTrigger for each section of my page where I split words and text so that the color of the characters changes during the scroll. So far so good, but I would like the data-attribute that I generate for example for the word "consequat." [data-word='consequat.'] activates as soon as I intercept the word. Currently the background color is only added after all text has been colored. Any help?
×
×
  • Create New...