I was working on a product page where the "Add to Cart" button should appear fixed on the page in the "above-the-fold" section. All good, slap position: sticky and bottom: 1rem on the button and it'll work. But I got curious… could it also stay stuck to the top of the page, after scrolling down, if the section is a bit taller? And… yes, it does. If you give it top: 1rem in addition to the rest, it will work just fine.