html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#root {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#root {
  flex: 1 0 auto;
  min-height: 1px;
}

footer {
  flex-shrink: 0;
}

Fix sticky footer to much whitespace
Fix sticky footer to much whitespace

Fix sticky footer to much whitespace caused by resized images in the content (in Internet Explorer)