📜  如何在 html 代码示例中删除我的页脚下方的空格

📅  最后修改于: 2022-03-11 14:53:14.194000             🧑  作者: Mango

代码示例1
body {
  margin: 0px;
  font-family: Arial;
  line-height: 20px;
}
#header {
  height: 20px;
  background: #222;
  color: white;
}
#content {
  min-height: calc(100vh - 40px); substract 40px since 20 are from header and 20 from footer
}
#footer {
  height: 20px;
  background: #222;
  color: white;
}