📜  页面滚动时滚动 div - CSS 代码示例

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

代码示例1
/* A basic solution is: */
div.classname {
    position : sticky;
  }
/* property in your external or internal CSS code.
Detailed information at : https://developer.mozilla.org/en-US/docs/Web/CSS/position */