Answers for "how to position a footer"

CSS
9

how to position a footer

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2.5rem;    /* Footer height */
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;            /* Footer height */
}
Posted by: Guest on March-16-2020

Code answers related to "how to position a footer"

Browse Popular Code Answers by Language