Day 47: the overscroll-behavior property

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
You can use the overscroll-behavior property to disable scroll-chaining.If you scroll the inner box in the following example to the end and you keep scrolling, the outer box starts scrolling, too, and finally the whole page. .demo.outer, .demo .inner { padding: 1rem; border: 10px solid; overflow: auto; font-size: 1rem; } .demo.outer...