Loading video...
Video Failed to Load
CSS Scroll-Snapping + GSAP ScrollTrigger ๐ What a lovely combo! I didn't know anything about #css scroll-snapping until studying a recent demo from Julio Rodriguez (linked below). I wanted to build my own simplified version from scratch to understand it better. Notice how the animated list of headers always... show more
29,409 views โข 1 year ago โขvia X (Twitter)
8 Comments

Carl ๐ฅ Creative Coding Club1 year ago
Here's my "basic" demo using @greensock's ScrollTrigger with CSS Scroll-Snapping

Carl ๐ฅ Creative Coding Club1 year ago
This is the inspiring, extra-fancy @jh3yy version And you can get in on his newsletter here:

Sam Sen | Web & Digital Design1 year ago
@jhey Looks awesome!

crapthings1 year ago
@jhey cool

Dan Florian1 year ago
@jhey Works in safari. Thatโs a shocker ๐ฎ

Armando J. Perez-Carreno1 year ago
@jhey Love the demo

Carl ๐ฅ Creative Coding Club1 year ago
@jhey Thanks!!!

Andy1 year ago
@jhey Removing the scroll-snap CSS in html { } and li { } doesnโt change the demo behavior at all. It looks like GSAP does all the lifting.
Related Videos
2:35
Sensitive content
Can we please stop with the scroll-jacking carousels on websites? CSS Scroll Snap is a much better solution! Re-built the Uniqlo home page with 6 lines of CSS and 4 lines of JS
Wes Bos
305,109 views โข 1 year ago

