I find these sites useful for cards. In general, the implementation of this code requires the use of JavaScript libraries or tools:
GSAP ScrollTrigger is a powerful tool for creating scroll-linked animations. By combining GSAP with ScrollTrigger
Intersection Observer API is a native JavaScript API that allows you to detect when an element enters or exits the viewport without needing external libraries.
ScrollMagic is a popular library for controlling scroll animations.