Jump to content
Search Community

reidb

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by reidb

  1. Hello!  I'm kind of stuck here and would appreciate any help you can give.

     

    I'm trying to reuse this "squiggle" animation below each <h1> element on my page where the <h1> also acts as the trigger.  I have only been successful by creating unique IDs for each occurrence (i.e. #squiggle-1, #squiggle-2, etc.).  While it works, I'd really like help finding a "DRYer" method as it really bloats my js.  

     

    Thanks again for any help you can give!!

    See the Pen mYJBjq by rtboudreau (@rtboudreau) on CodePen

×
×
  • Create New...