📜  分屏html代码示例

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

代码示例1
#col-1 {
  position: fixed;
  width: 50%;
  float: left;
  height: 100%;
  background-color: #282828;
  z-index: 1010101010
}

#col-2 {
  position: fixed;
  width: 50%;
  float: right;
  height: 100%;
  background-color: #0080ff;
  z-index: 1010101010
}