Answers for "how to stick footer to bottom of page"

4

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
0

sticky footer bootstrap 3

<style>
.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: red;
   color: white;
   text-align: center;
}
</style>
Posted by: Guest on May-31-2020

Code answers related to "how to stick footer to bottom of page"

Browse Popular Code Answers by Language