Friday, November 26, 2021

sticky feet! well, a footer

 Interesting, according to this page,

html, body { height: 100%;}

body > footer {
  position: sticky;
  top: 100vh;
}

is a nice sticky footer, even though it looks like it should be underneath the page.

No comments:

Post a Comment