Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

footer at bottom of body

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #footer #bottom #body
ADD COMMENT
Topic
Name
7+8 =