Position fixed on image effect

Hi everyone! i wanted to replicate the effect that is on this website on the section that has the multiple descriptors and the images on the left hand are set to fixed as the right side text scrolls by and then the images change. My idea was to just set each image one by one to fixed as the new cooresponding text section comes to veiw but im not sure if thats the right thing to do. https://www.homagames.com/about
Homa
Homa | About
Before Homa, making a hit mobile game was blood, sweat and luck. Now, it’s more like step one, step two, step three.
1 Reply
MarkBoots
MarkBootsβ€’2mo ago
they are doing it by laying all images on top of each other in a container that has position sticky. then with a intersection observer you can change the opacity of the corresponding one