Jump to content
Search Community

Animation inside clip or mask

buster808 test
Moderator Tag

Go to solution Solved by buster808,

Recommended Posts

Hi @buster808 :)

 

Welcome to the forum and thanks for joining Club GreenSock.

 

The trick here is to use a clip-path in your defs. Then wrap a group around the shutter group. The parent group then uses the clip-path from the defs. Here's a fork with those changes.

See the Pen f35d9c532f59277799d2b9e159ee3015 by PointC (@PointC) on CodePen

 

Hopefully that helps. Happy tweening and welcome aboard.

:)

 

  • Like 4
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.
×
×
  • Create New...