📜  正文底部的页脚 - CSS 代码示例

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

代码示例2
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}