Using CSS Overscroll-Behavior To Prevent Scrolling Of Parent Containers From Overflow Containers

preview_player
Показать описание
Ben Nadel demonstrates that the CSS property, overscroll-behavior, can be used to trap the mouse scroll wheel within an overflow container. This can be used to prevent "scroll chaining", creating for a much better user experience (UX) with no fancy JavaScript.

Рекомендации по теме