mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 15:19:18 -08:00
28 lines
451 B
SCSS
28 lines
451 B
SCSS
/*
|
|
https://developer.mozilla.org/en-US/docs/Web/CSS/How_to/Layout_cookbook/Sticky_footers
|
|
*/
|
|
|
|
html, body {
|
|
height: 100vh;
|
|
}
|
|
|
|
html, body, .wrapper {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.wrapper {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas: "header" "main" "footer";
|
|
grid-template-rows: auto 1fr auto;
|
|
header {
|
|
grid-area: header;
|
|
}
|
|
main {
|
|
grid-area: main;
|
|
display: block;
|
|
}
|
|
footer {
|
|
grid-area: footer;
|
|
}
|
|
}
|