Cards overlap while scrolling

Hi, I’m trying to get the animation similar to the one in apple music website
Apple Music - Apple (IN) – Animation of feature cards overlapping as we scrolldown and open up as we scroll up in " It’s as easy as it sounds." section.

Tried different ways with appear on scroll as well as parallax animation techniques.
Please help me with it.

Here is my public share link: Practice

Bump, I would also love to learn how to do this.

Been playing around for an hour and am struggling lol