Jump to content
GreenSock

Sheraz Awan

trying to move image upwards like a curtain with scroll.

Recommended Posts

So i am trying to move a curtain effect. i want that the below section stays pinned and the curtain starts going up. but the issue is that its cutting down the image when it goes up and it also adds a white background even though i m using a png for curtain. 

Screenshot_1.png

See the Pen NWYKdqp by Artyomawan (@Artyomawan) on CodePen

Link to comment
Share on other sites

It's difficult for me to understand exactly what effect you're going for, but maybe you meant to do this?: 

See the Pen ZExzeRG?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Please keep in mind that these forums are not for free "here are my requirements: ____, please show me how to build it" consulting (see the forum guidelines) but we're happy to answer any GSAP-specific questions. 

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.
×