Add stunning 3D scroll animations to your website with this custom-crafted JavaScript snippet.
- Easy implementation with simple data attributes
- Eye-catching 3D perspective animations
- Fully responsive design that adapts to any container
- Customizable animation speed and appearance
- Works in all modern browsers and devices
Lower values = faster animation transitions
Distance between stacked cards when scrolling
How much cards scale down when stacked (lower = more scaling)
Progressive scale reduction for each card in the stack
Adds a 3D rotation effect when cards are stacked
Adds shadow to cards for depth perception
Adds subtle darkening effect to stacked cards
3D perspective intensity (lower = more dramatic effect)
Vertical distance between cards when stacked
Internal padding of the container for better spacing
Scale factor for mobile devices (lower = reduced effects)
Turn off animations on mobile devices for better performance
Screen width below which mobile settings are applied