Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个大约 5000 像素高度的页面,相当长的页面。单击按钮时,会出现一个覆盖,该覆盖从页面顶部开始,高度约为 2000 像素。我想拥有它,这样当覆盖在屏幕上时,用户不能滚动超过 2000 像素。
我环顾四周,大多数建议都指向了特定的滚动情况,现在正是我想要的。有什么建议么?