Parallax, Slide Effect (sticky, fixed positioning ?)

Hi there,

I was wondering how to achieve this effect that can be seen on the Iphone 11 Pro landing page right here:

I mean the effect where the Iphone kind of slides to the top and reveals the layer underneath and then stick to it.

I was experementing with fixed positioning and sticky to achieve this effect however I didnt get it until now.

Maybe someone has an idea and could help me out here please.

Thanks
David

1 Like

Thanks man! Appreciate it!