initium Posted February 16, 2022 Posted February 16, 2022 Hey, I want to do this animation on the right hand side, where the picture comes in from the bottom and overlaps the old one. How could i do this?
Solution Shaun Gorneau Posted February 16, 2022 Solution Posted February 16, 2022 Hi @initium, Moving an image from the bottom can be handled by translating the image on the Y axis from either off below (meaning the height of the viewable area) the viewable area to 0 or on the viewable area (0) to off the top (minus the height of the viewable area). Here is a verbose example to show you what I mean. See the Pen oNoodpo?editors=0010 by sgorneau (@sgorneau) on CodePen. In a practical execution you'd want to compute things like the viewable area height and wrap the timeline buildout in logic to accommodate any number of slides and any variation on height/width. Hope this helps! Shaun 4
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