Answers for "make the footer stick to the bottom of a page"

3

html make footer stick to bottom

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
footer{
    margin-top: auto;
}
Posted by: Guest on May-12-2021
2

push footer to bottom

.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between
}
Posted by: Guest on August-13-2020

Code answers related to "make the footer stick to the bottom of a page"

Browse Popular Code Answers by Language