gecko-dev/layout/reftests/async-scrolling/dynamic-toolbar-sticky-bott...

30 строки
464 B
HTML

<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>