我有一段 CSS 代码将底部安排div在底部 0 并固定位置。这非常有效,但是当我调整窗口大小时,底部div隐藏了上面的(中间和顶部)。这是代码:
.topFull{
  width:100%;
  height: 90px;
  background:#1b3f61;
  position: fixed;
  top: 0px;
  left: 0px;
}
.middle{
  width:100%;
  min-width:850px;
  max-width:1000px;
  height: auto;
  margin-top: 120px;
  position: absolute;
  margin-left: -50px;
}
.bottomFull{
  width: 100%;
  background:#1b3f61;
  height: 180px;
  position: fixed;
  left: 0;
  bottom: 0;
}