Thanks for your answer, I tried your code but it doesn't work as I expected the second item didn't grow opacity to 1 when the first item disappear. If I remove scrollTrigger then I can't do the animation when scroll the page.
I don't know how but it still works when I use ScrollTrigger in a timeline: https://drive.google.com/file/d/1DJhfRBIFmzY2pOkM7hIXaCGL0jVzmvlj/view?usp=sharing.
Could you give me another hint, thanks.
index.tsx