Jump to content
Search Community

move text to top one after one by scrolltrigger

Mukhriddin test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hi there!
How can I show Node element one after one on scrollTrigger?!

What it behaves now: 
All text nodes are going to center and once they reach center of window, all of them are vanishing at the same time (autoAlpha: 0)

 

What I expect:
Each node element goes to the center one after one. Basically, when the first element starts to vanish, the second one  start to move to the center. And this chain loops until last one vanishes.

Here is a minimal demo:
https://stackblitz.com/edit/nuxt-starter-vulayy?file=components%2FTruckSimulator.vue,app.vue

P.s.: I kinda feel this can be done by "position". But I am not sure how to do that

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