Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.
Learn the fundamentals of React’s high-order components and play with some code samples to help you understand how it works.
Learn about the dependency inversion principle (DIP), its importance, and how to implement it across multiple programming languages.
Build a Telegram bot with Node.js and grammY to automate text, audio, and image responses using the Telegram API and Google Gemini.
4 Replies to "How to use CSS Scroll Snap"
Hmmm that demo didn’t work in Chrome Mobile…
Firefox supports modern version of spec since version 68 (current ESR), you have outdated info…
You’re right, thanks for pointing that out.
Thanks for this article. Unfortunately there seem to be a couple Chrome bugs that make this property rather unusable. For example the following where a tick of the mouse scroll wheel scrolls 2 panels instead of one (https://stackoverflow.com/questions/58863384/increase-sensitivity-of-scroll-snapping-in-google-chrome). Do we know of any workarounds?