Jump to content
GreenSock

buster808

Working with elements and Scroll trigger

Moderator Tag
Go to solution Solved by buster808,

Recommended Posts

Hi, If Im using an html img like below Scrolltrigger works fine while targeting fred:
<img class="fred" src='images/fred.svg'>

 

But what I want to do is for scrolltrigger to work on a group that has a clippath while targeting shutter (This doesn't work).

    <g id="clipPathReveal" clip-path="url(#theClipPath)">
    <g class="Shutter">
    </g>

 

Thanks

Link to comment
Share on other sites

  • Solution

Its working now. I added lots of dummy text at the bottom so scroll can be triggered dah

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×