Make the footer be in the bottom of the page always, even if there is not enough content to push it down.

This commit is contained in:
Emil Elgaard 2023-03-21 13:22:04 -04:00
parent 7924dd8bca
commit a31912650f
2 changed files with 30 additions and 14 deletions

View File

@ -18,9 +18,11 @@
} }
</script> </script>
<Navbar /> <div class="page_container">
<section class="section"> <Navbar />
<section class="section">
<div class="container is-fullhd"> <div class="container is-fullhd">
<div class="columns"> <div class="columns">
<div class="column is-one-fifth"> <div class="column is-one-fifth">
@ -33,6 +35,8 @@
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<Footer /> <Footer />
</div>

View File

@ -7,6 +7,18 @@
} }
} }
.page_container {
display: flex;
flex-direction: column;
flex-grow: 1;
min-height: 100vh;
section.section{
flex-grow: 1;
}
}
.rotate { .rotate {
animation: rotating 10s linear infinite; animation: rotating 10s linear infinite;
} }