Select Page

Here is a nice example created by Greensock to create horizontal snapping of sections.

Vertical

See the Pen Jump to section with layering – ScrollTrigger by Puneet Sharma (@webdevpuneet) on CodePen.

Horizontal

See the Pen Horizontal snapping sections (simple) – ScrollTrigger by Puneet Sharma (@webdevpuneet) on CodePen.