Site icon Puneet Sharma – Freelance Web Developer

Horizontal and Vertical Snapping Sections – ScrollTrigger

Horizontal snapping sections (simple) - ScrollTrigger

Horizontal snapping sections (simple) - ScrollTrigger

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.

Exit mobile version