Scroll Shadows? Pure CSS Parallax? Game Back On.

Chris calls scroll shadows one his favorite CSS-Tricks of all time. Lea Verou popularized the pure CSS approach using four layered background gradients with some clever background-attachment magic. The result is a slick scrolling interaction that gives users a hint …


Scroll Shadows? Pure CSS Parallax? Game Back On. originally published on CSS-Tricks. You should get the newsletter.

https://css-tricks.com/scroll-shadows-pure-css-parallax-game-back-on/

Created 3y | Jul 29, 2022, 3:21:05 PM


Login to add comment

Other posts in this group

GSAP is Now Completely Free, Even for Commercial Use!

Along with the version 3.13 release, GSAP, and all its awesome plugins, are now freely available to everyone.


May 6, 2025, 2:50:06 PM | CSS tricks
Modern Scroll Shadows Using Scroll-Driven Animations

Using scroll shadows, especially for mobile devices, is a subtle bit of UX that Chris has covered before. Geoff covered a newer approach that uses the animation-timeline property. Here

May 5, 2025, 1:20:16 PM | CSS tricks
CSS shape() Commands

The CSS shape() function recently gained support in both Chromium and WebKit browsers. It's a way of drawing complex shapes when clipping elements with the clip-path prope

May 2, 2025, 1:30:15 PM | CSS tricks
State of Devs: A Survey for Every Developer

The State of Devs survey is now open to participation, and unlike previous surveys it covers everything except code: career, workplace, but also health, hobbies, and more. 


May 1, 2025, 2:20:29 PM | CSS tricks
Revisiting Image Maps

Let’s run through a quick refresher. Image maps date all the way back to HTML 3.2, where, first, server-side maps and then client-side maps defined clickable regions over an image using map and are

Apr 30, 2025, 12:50:05 PM | CSS tricks
Open Up With Brad Frost, Episode 2

Brad Frost is running this new little podcast called Open Up. Folks write in with questions about the “other” side

Apr 29, 2025, 4:10:05 PM | CSS tricks
Anchor Positioning Just Don’t Care About Source Order

The fact that anchor positioning eschews HTML source order is so CSS-y because it's another separation of concerns between content and presentation.


Apr 28, 2025, 2:30:06 PM | CSS tricks