CSS can probably do that
- Smooth scrolling
- Lazy-loading content
- Keeping elements stuck in the viewport while scrolling
- Smoothly scrolling in & snapping elements into place
Even cooler stuff coming up
- The Future of CSS: Scroll-Linked Animations with @scroll-timeline (Part 1) - Bramus Van Damme's very detailed experimentations with CSS scroll-linked animations.
Enjoy this post?
I send out a fortnightly email newsletter called Optimised. It's a look at website performance, how it impacts your business, and what you can do about it.View the archive & subscribe today!