Skip to content

Instantly share code, notes, and snippets.

@currentcreative
Forked from NatalieMac/style.css
Created May 4, 2019 02:13
Show Gist options
  • Save currentcreative/41f567eeb4446ee9bf35e1a0633afa1c to your computer and use it in GitHub Desktop.
Save currentcreative/41f567eeb4446ee9bf35e1a0633afa1c to your computer and use it in GitHub Desktop.
Sticky footer w/ Underscores markup
html {
height: 100%;
overflow: hidden;
}
body {
height: 100%;
overflow: scroll;
}
.site {
display: table;
height: 100%;
width: 100%;
}
.site-footer {
display: table-row;
height: 1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment