From Dev.to
position: sticky Does Nothing? Hunt Down the Hidden Overflow
You add position: sticky and top: 0 to your header. You scroll. The header scrolls away like nothing happened. No error in the console. No warning in DevTools. Just a header that won't stick. This pos...
