A realistic 3D time picker interface with scrolling wheels for hours, minutes, and AM/PM, styled in dark mode with a 3D perspective skew.

3D Rotating iOS Time Picker

demo & code

This 3D Rotating iOS Time Picker recreates the tactile feel of native mobile controls on the web. It features three independently rotating wheels (Hours, Minutes, Meridiem) that snap into place with satisfying physics. The component leverages the cutting-edge Scroll-driven Animations API for buttery-smooth performance on supported browsers, while seamlessly falling back to GSAP for others. The 3D perspective creates a “drum” effect where numbers fade and rotate away as they leave the center view.

Level: Advanced
Browser Support: Chrome 115+, Edge 115+, Safari 26+, Firefox (support via GSAP Fallback)
A responsive grid of cards featuring illustrations, where each card is slightly rotated and scaled, creating a scattered paper effect on a dark background.

Scroll-Driven Masonry Reveal

demo & code

This Scroll-Driven Masonry Reveal creates a playful, tactile experience where content cards appear to be “dealt” onto the screen as the user scrolls. By leveraging the native CSS Scroll-driven Animations API, it achieves smooth, main-thread-free entrance effects without a single line of JavaScript. The layout adapts intelligently from 2 to 8 columns, making it a robust solution for image galleries or blog archives.

Level: Intermediate
Browser Support: Chrome 115+, Edge 115+, Safari 26+, Firefox (flag/polyfill)
Album playlist header morphing from a large cover into a sticky small bar using Scroll-driven View Transitions.

Scroll-Linked View Transition Header

demo & code

This Scroll-Linked View Transition Header demonstrates a cinematic UI pattern common in music apps like Spotify. It uses the View Transition API to morph a large album hero section into a compact, sticky navigation bar, but with a twist: the animation progress is scrubbed directly by the user’s scroll position rather than a fixed timer.

Level: Advanced
Browser Support: Chrome 115+, Edge 115+, Safari 26+
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: Chrome 115+, Edge 115+. Firefox/Safari (via GSAP Polyfill)
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.

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.

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.

CSS in 2024 (Experimental Features)

CSS in 2024 (Experimental Features)

Using experimental CSS features to build an advanced UI component, showcasing CSS Anchoring to attach the tooltip to the slider and Scroll-Driven Animations to drive the slider’s value and color change.

Scroll-Driven Gallery

Scroll-Driven Gallery

A demonstration of the new CSS Scroll-Driven Animations (SDA) API, where the scroll position of the entire page directly drives a complex, scaling, and rotating grid of images, achieving a high-performance, engaging visual effect purely with CSS.

See the Pen Scroll-Driven Gallery.

Filter Prototype with React

Filter Prototype with React

A dynamic React list component with search and filtering features, demonstrating optimized user experience by automatically sorting checked items to the top of the list, thereby enhancing navigation.

See the Pen Filter Prototype with React.

Coverflow 3D Effect with CSS

Coverflow 3D Effect with CSS

A truly modern image flow powered by CSS Scroll-driven Animations and view-timeline. This demo uses pure CSS to create a 3D perspective effect where images pop out and rotate as they enter the viewport, with no JavaScript required.

See the Pen Coverflow 3D Effect with CSS.

Sliding Images Using Animation-timeline

Sliding Images Using Animation-timeline

This scroll-driven animation effect is built entirely with CSS Scroll-Driven Animations, using animation-timeline: scroll(). It smoothly translates and transforms elements based on scroll position, creating a dynamic and high-performance parallax effect without JavaScript.

CSS Only Parallax Layers

CSS Only Parallax Layers

A parallax effect implemented entirely in pure CSS using animation-timeline: view(). This modern solution ensures high performance as the animation is tied directly to the scroll position, eliminating the need for JavaScript.

See the Pen CSS Only Parallax Layers.

CSS Scroll-Driven Reveal Animationexternal link

Native CSS Scroll-Driven Animation provides GPU-optimized smooth reveal of elements, ensuring flawless responsiveness without additional JavaScript.

Scroll Mask Indicatorsexternal link

A modern and clean way to indicate scrollability: the “fade-to-mist” effect is implemented using mask-image and linear-gradient, while key parameters of the fade phase are precisely tuned using @property.

Scroll-Driven Gooey Islandexternal link

Check out this cutting-edge “sticky island” effect that dynamically squishes and transforms on scroll using CSS Scroll-Timeline. The core technical feature is creating the Gooey effect by combining filter: blur() and contrast() with absolute control linked to the scroll position.

CSS Sprite-Based Flip Carousel Using Scroll-Timelineexternal link

A modern implementation of interactive page flipping where the sprite animation (background-position) is fully synchronized with page scrolling using the new CSS scroll-timeline feature, eliminating JavaScript for timing control.

CSS scroll-driven Stroke Textexternal link

A sophisticated scroll-linked text filling effect powered by modern CSS Scroll-Driven Animations and custom @property logic. This snippet showcases fluid typography, responsive layouts, and the View Transition API for seamless theme switching, providing a high-performance blueprint for advanced frontend interfaces.

Image Gallery with View Transitions API and Scroll-Driven Animations

Image Gallery with View Transitions API and Scroll-Driven Animations

An advanced gallery with a carousel based on the native <dialog> element and Scroll-Driven Animations, where the View Transitions API synchronizes the modal opening with the carousel scroll to the selected image, delivering a smooth and functional UX.