A lush green jungle scene with layers of vector leaves parting to the sides, revealing a golden title 'Jungle Roar' in the center as you scroll.

Parallax Jungle Leaves Reveal

demo & code

This Parallax Jungle Leaves Reveal creates a cinematic opening for a landing page. As the user scrolls, dense layers of tropical SVG leaves part ways - some moving left, some right - while smaller leaves float randomly in the background. The effect culminates in the reveal of a typography-based logo, creating a sense of depth and discovery perfect for storytelling or adventure-themed websites.

Level: Intermediate
Browser Support [Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A long text article where specific phrases are highlighted with a yellow background animation as they enter the viewport, with controls for highlight style and dark mode at the top

Scroll-Triggered Text Highlights

demo & code

This Scroll-Triggered Text Highlight effect mimics the experience of marking important passages with a highlighter pen as you read. Using GSAP ScrollTrigger, the highlights animate seamlessly from left to right exactly when the text enters the reader’s viewport. The component offers multiple visual styles (full background, half-height, or underline) and fully supports dark mode, making it an excellent addition to long-form articles, documentation, or educational content.

Level: Intermediate
Browser Support [Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Split-screen interface where the left column images slide and crossfade in sync with the scrolling right column, featuring progress indicators.

Scroll-Driven Image Swapper

demo & code

This Scroll-Driven Image Swapper demonstrates the bleeding edge of web animation. It uses the native CSS Scroll-driven Animations API to create a complex parallax-like effect where two columns of different heights scroll in sync. As you scroll, the images in the shorter column slide and crossfade to match the context of the taller column. Crucially, the code implements a Progressive Enhancement strategy: it checks for native browser support and falls back to GSAP ScrollTrigger for browsers that haven’t implemented the spec yet.

Level: Advanced
Browser Support [Feb 2026]: Chrome 115+, Edge 115+. Firefox/Safari (via GSAP Polyfill)
Minimalist dark blue sticky header that shrinks and hides the center title text when scrolling down, powered by the Intersection Observer API.

Sticky Observer Navigation

demo & code

The Sticky Observer Navigation is a performance-first header component designed for modern landing pages. It uses an elegant dark-blue color palette with “Abril Fatface” typography to create a high-contrast, premium look. The navigation intelligently shrinks and hides the central title as the user scrolls, providing more screen real estate for content while maintaining essential link icons within a fixed bar.

Level: Intermediate
Browser Support [Feb 2026]: Chrome 51+, Edge 15+, Firefox 55+, Safari 12.1+
Web page showing pizza ingredients like mushrooms and peppers flying onto a dough base as the user scrolls, creating a visual assembly effect

ScrollMagic Pizza Assembly Animation

demo & code

This ScrollMagic Pizza Assembly Animation transforms a standard product landing page into an interactive storytelling experience. As the user scrolls down, individual pizza ingredients - peppers, mushrooms, olives - fly in from different directions to assemble a complete pizza. The sequence is tightly choreographed using GSAP timelines pinned to the scroll position, giving the user direct control over the “cooking” process.

Level: Intermediate
Browser Support [Jan 2026]: Chrome 50+, Edge 15+, Firefox 45+, Safari 10+
Traditional Korean painting revealing itself through a black ink splatter mask effect on a textured paper background

Ink Transition Scroll Effect

demo & code

This Ink Transition Scroll Effect brings digital storytelling to life by mimicking the organic spread of ink on paper. Designed for a biography page, it reveals images using a “splatter” transition triggered by scrolling. It combines ScrollMagic for timing, GSAP for smooth text entry, and CSS Sprites for the complex ink mask animation.

Level: Advanced
Browser Support [Jan 2026]: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Split-screen website layout with pastel sections, large typography, and artistic photography demonstrating parallax scrolling and text reveal effects

Smooth Parallax Scroll Layout

demo & code

This GSAP ScrollSmoother Parallax Gallery represents a high-end implementation of scroll-based storytelling suitable for portfolios or luxury brand landing pages. It leverages the full power of the GreenSock ecosystem - specifically the premium ScrollSmoother and SplitText plugins - to create a “buttery” smooth scroll experience where content reveals itself with elegant, staggered animations and depth-inducing parallax.

Level: Advanced
Browser Support [Jan 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
An immersive scrolling experience where the user appears to fly through a cloud of photos.

Perspective Zoom Effect on Scroll

An immersive scrolling experience where the user flies through a cloud of photos that smoothly approach and fade away, revealing an elegantly emerging text.

A showcase of 3D text effects, including an Oreo-like layered text that animates on scroll.

Oreo, Smash, Donuts, etc.

A suite of volumetric typographic experiments where depth is simulated by stacking multiple DOM layers along the Z-axis using transform-style: preserve-3d.

See the Pen Oreo, Smash, Donuts, etc..

Immersive scrolling webpage with a 3D particle field that moves with the user scroll.

GSAP ScrollSmoother and Three.js

An immersive scrolling experience blending smooth typography with a floating 3D particle field powered by Three.js. GSAP orchestrates the camera movement and dynamic text highlighting, creating a synchronized parallax journey.

See the Pen GSAP ScrollSmoother and Three.js.

Dynamic infographic where an image shrinks and a number counter animates on scroll.

Scroll UI Animation

As you scroll down, a large image of a field shrinks and gets cropped by white blocks to focus attention, while a heading on the left counts up the percentage of water saved, changing color for emphasis. This creates the feel of a dynamic infographic.

See the Pen Scroll UI Animation.

A webpage with smooth scrolling and layered parallax effects on text and images.

Smooth Scrolling with GSAP ScrollSmoother

A premium smooth-scrolling interface orchestrated by GSAP’s ScrollSmoother plugin. The layout leverages CSS Grid for overlapping compositions, while declarative data-speed attributes drive distinct parallax velocities for text and imagery, creating a layered, depth-rich browsing experience.

Physics Milestones Timeline

Physics Milestones Timeline

An animated vertical timeline where historical event cards slide in from alternating sides as they enter the viewport upon scrolling.

See the Pen Physics Milestones Timeline.

CSS Scroll-Driven Content Wave

CSS Scroll-Driven Content Wave

A fluid, tactile selection interface where elements “live” and react to scroll, creating a “fisheye” or lens effect.

See the Pen CSS Scroll-Driven Content Wave.

Scroll-Driven Content Wave #2

Scroll-Driven Content Wave #2

A horizontal scroll interface featuring a “lens” effect powered by CSS Scroll-Driven Animations (animation-timeline: view(inline)).

See the Pen Scroll-Driven Content Wave #2.

Open Props Bento Grid

Open Props Bento Grid

A modern, visually appealing content grid that smoothly assembles on scroll, adapting seamlessly to any screen size.

See the Pen Open Props Bento Grid.

Inertial Scroll Gallery with 3D Transforms

Inertial Scroll Gallery with 3D Transforms

A sophisticated scroll-hijacking gallery that emulates inertia using a virtual scroll container and requestAnimationFrame. JavaScript orchestrates complex 3D transforms - calculating rotation and translation based on intersection ratios - while the layout relies on a fixed CSS grid.

GSAP ScrollTrigger Parallax Effect

GSAP ScrollTrigger Parallax Effect

This demo is a masterclass in scroll-driven animation, where GSAP’s ScrollTrigger plugin choreographs multiple, layered effects. A fluid parallax effect is created by using scrub: 1 to tie the yPercent and rotation of decorative elements directly to the scrollbar. This is complemented by a sophisticated text reveal, where GSAP’s SplitText plugin animates characters into view with a staggered opacity and y tween, demonstrating a powerful and modular approach to building complex, interactive scrolling experiences.

Horizontal Scroll Section with GSAP and Locomotive Scroll

Horizontal Scroll Section with GSAP and Locomotive Scroll

Experience a classic “pinned” horizontal scroll effect, where a vertical scroll action is converted into horizontal movement. GSAP’s pin: true property freezes the section in place, while a tween animates the x property of the inner container, creating a cinematic, side-scrolling gallery.

Sliding List with Scroll-Driven Animations

Sliding List with Scroll-Driven Animations

This demo uses a single scroll event listener to calculate the individual progress of each list item as it enters the viewport. The progress value is then passed to a CSS Custom Property, which drives a staggered transform: scale() and opacity animation for a fluid, app-like reveal effect.

Infinite Scrolling with Image Cards

Infinite Scrolling with Image Cards

This infinitely scrolling image grid employs an IntersectionObserver with baton-passing observation to dynamically load content from the Pixabay API, creating cards through DOM manipulation as the user scrolls. JavaScript manages the paginated requests while CSS Grid provides responsive layout adaptation, with custom properties enabling seamless dark/light theme switching and clip-path animations.

Scroll-Driven Web Gears Animation

Scroll-Driven Web Gears Animation

A complex technical example demonstrating how to ensure animation functionality even without CSS animation-timeline: scroll() support. The code first checks for support and, if absent, uses GSAP ScrollTrigger as a polyfill for scroll-driven animation.

Infinite Scrollable and Draggable WebGL Grid

Infinite Scrollable and Draggable WebGL Grid

This demo showcases advanced THREE.js implementation using coordinate wrapping and custom shaders to create a highly performant, infinitely scrollable and draggable WebGL grid with motion-based visual feedback.

Vanilla JS Skew Images on Scroll

Vanilla JS Skew Images on Scroll

A dynamic image skew effect in pure Vanilla JS, where the transformation angle directly depends on the page’s scroll velocity, providing unique and responsive visual feedback.

See the Pen Vanilla JS Skew Images on Scroll.

Animated Scroll-Triggered Timeline

Animated Scroll-Triggered Timeline

A smooth vertical timeline featuring scroll-triggered element animation, implemented using efficient pure JavaScript DOM visibility tracking to enhance performance and content engagement.

CSS Glitchy Text Reveal with Splitting.js

CSS Glitchy Text Reveal with Splitting.js

A demonstration of per-character text manipulation using Splitting.js to create a striking CSS glitch animation, where each character receives a unique set of random custom properties for varied and dynamic text reveal effects.

Text Reveal (on Scroll) Effect

Text Reveal (on Scroll) Effect

An elegant text reveal effect that uses the Intersection Observer API for lazy-loading animation upon entering the viewport and relies on GSAP to perform a smooth “wipe” using a scale transformation.

See the Pen Text Reveal (on Scroll) Effect.

Dinosaur Park Scroll Snap Reveal Demo

Dinosaur Park Scroll Snap Reveal Demo

Impressive scroll-triggered element reveal implemented using the native Intersection Observer API and styling based on CSS Custom Properties for cascading animations.

Efficient Image Scroll Zoom Effect

Efficient Image Scroll Zoom Effect

A demo of the scroll zoom effect via dynamic element visibility calculation and utilizing the Intersection Observer API for performance enhancement.

Pixelated Lazy Load for Images

Pixelated Lazy Load for Images

Pure JavaScript and CSS demonstrate how to replace a heavily pixelated placeholder with a full-size image using the data-src attribute and switching the image-rendering styles.

See the Pen Pixelated Lazy Load for Images.

Layout Explorations with GSAP, Flip, Lenis and ScrollTrigger N°2

Layout Explorations with GSAP, Flip, Lenis and ScrollTrigger N°2

An advanced gallery UX pattern where view switching (List/Grid) uses GSAP Flip for calculating and executing complex transitions, and the hover preview effect is controlled by precise mouse events with debounce logic.

Cinematic Glitch Slideshow

Cinematic Glitch Slideshow

An interactive demo showcasing slide transitions via destructive digital effects. It uses WebGL shaders to create realistic VHS distortion, static, and pixelation.

See the Pen Cinematic Glitch Slideshow.

Codepen Challenge: Article Details

Codepen Challenge: Article Details

This demo uses the JavaScript IntersectionObserver API to create a smart-scrolling navigation that appears on scroll and highlights the active section, all without performance-heavy event listeners.

Animated Continuous Sections with GSAP

Animated Continuous Sections with GSAP

A practical example of a full-page scroller built with GSAP, featuring an infinite loop via gsap.utils.wrap. The core animation uses nested containers for a split-reveal effect, while text comes alive with a staggered animation on individual characters thanks to SplitText.

Scroll-Based Reveal Animations with ScrollTrigger

Scroll-Based Reveal Animations with ScrollTrigger

Technically, this is an example of using GSAP for “in” and “out” element animations based on scroll position. The code effectively uses callback functions like onEnter, onEnterBack, and onLeave to manage element states, making them visible only when needed.

Wave and RGB Image Distortion with Shaders

Wave and RGB Image Distortion with Shaders

See how vertex and fragment shaders in Three.js are used to create a “living image” effect that reacts to scrolling. The technical focus is on the deformation (uOffset) and RGB shift (uRGBShift) controlled via GSAP.

Infinite Horizontal Scroll with Progress Tracking

Infinite Horizontal Scroll with Progress Tracking

A fullscreen horizontal scroll with unique infinite loop logic based on dynamic content cloning, complemented by a progress indicator.

Three.js 3D Model Animation with GSAP ScrollTrigger

Three.js 3D Model Animation with GSAP ScrollTrigger

An immersive scroll animation built on GSAP (ScrollTrigger) and Three.js. Features include 3D model loading, volumetric lighting, and dynamic animation parameters that can be easily adjusted via a control panel.

GSAP ScrollTrigger Disintegration Effect

GSAP ScrollTrigger Disintegration Effect

This isn’t just a simple scroll effect—it’s an artistic display of a custom-built disintegration animation. It leverages GSAP’s ScrollTrigger to control the precise, chaotic fade-out of an image rendered from the DOM.