uavide Posted May 23, 2022 Share Posted May 23, 2022 Good morning, I found this codepen: See the Pen vYgdBVr by icodeayush (@icodeayush) on CodePen and tried to make mine codepen for my needs here: I would like to understand how I can make the image you see in the codepen become a full screen image (as if it were the background image), and when i scroll that start to zoom out from the center. Thanks. Davide See the Pen ZErJmJm by uavide (@uavide) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted May 24, 2022 Share Posted May 24, 2022 I'm not sure that I understand your goal correctly, but here's a way you could animate the image to fill the container and be centered, pinned and scrubbed: See the Pen RwQLKvK?editors=0010 by GreenSock (@GreenSock) on CodePen 3 Link to comment Share on other sites More sharing options...
uavide Posted May 31, 2022 Author Share Posted May 31, 2022 Ok that's cool thanks ..have a nice day!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now