正在加载视频...
视频加载失败
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
8 条评论

Carl 💥 Creative Coding Club1 年前
Here's my "basic" demo using @greensock's ScrollTrigger with CSS Scroll-Snapping

Carl 💥 Creative Coding Club1 年前
This is the inspiring, extra-fancy @jh3yy version And you can get in on his newsletter here:

Sam Sen | Web & Digital Design1 年前
@jhey Looks awesome!

crapthings1 年前
@jhey cool

Dan Florian1 年前
@jhey Works in safari. That’s a shocker 😮

Armando J. Perez-Carreno1 年前
@jhey Love the demo

Carl 💥 Creative Coding Club1 年前
@jhey Thanks!!!

Andy1 年前
@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.
相关视频
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 次观看 • 1 年前

