User avatar
privTri Volpeon areon3NSmol @volpeon@icy.wyvern.rip
1y
I figured out how to implement a footer that's also at the bottom of the viewport if the page isn't tall enough:
html {
    min-block-size: 100%;
    display: flex;
}

body {
    inline-size: 100%;
}

.footer {
    position: sticky;
    inset-block-start: 100%;
}