Jump to content
Search Community

move in image from bottom

initium test
Moderator Tag

Go to solution Solved by Shaun Gorneau,

Recommended Posts

  • Solution

Hi @initium,

 

Moving an image from the bottom can be handled by translating the image on the Y axis from either

 

  1. off below (meaning the height of the viewable area) the viewable area to 0 or
  2. 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

 

 

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