<html> <meta name="viewport" content="width=device-width"> <style> html { scrollbar-width: none; } #scrolled { display: flex; justify-content: space-around; align-items: flex-start; height: 2000px; width: 100%; } #sticky { width: 100%; height: 200px; position: sticky; bottom: 70px; background: red; align-self: flex-end; } </style> <body> <div id="scrolled"> <div id="sticky"></div> </div> </body> </html>