📜  粘性表单看起来很模糊 - CSS 代码示例

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

代码示例1
.sticky-panel {
  position: sticky;
  z-index: 3;  
  width: 100%;
  margin-top: auto;
  bottom: -1px;
  top: 0px; // <-- set number of pixels for top
  height: 100px; // or set number of pixels for height
}