Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Scaling image (something like flip animation)

Recommended Posts

Hey guys, I have a question about an animation that im trying to make, so is "something like Flip Animation".
Basically what I am doing is generating a small image and a larger one behind, hidden. What I want to achieve is that the one that is hidden starts from where the smallest image is and scales to the size of the viewport, but I am trying to avoid using Width and Height to make a more fluid animation and I want to use Scale for that. 
Any suggestions or ideas? it would be very helpful!

Thanks for taking the time to read!!

See the Pen RwRJWBQ by JulesthanP (@JulesthanP) on CodePen

Link to post
Share on other sites

Hey Vulture. GSAP has a handy FLIP helper function that can help with this. There's also this thread on full-screening an element:

FYI we're working on a new FLIP plugin that makes this sort of thing a breeze :) 

  • Like 1
Link to post
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.