Parallax Effect

Here’s a super-lightweight parallax library.

Just add .parallax to any item you wish to animate, add a custom data-scroll-multiplier value (usually 0.1 or something like that, can also be skipped) and wrap everything around .parallax-safe to compensate automatically for the last item’s negative margin.

If you need something more complex, I suggest using Locomotive

Return to threads