【发布时间】:2022-01-18 11:44:12
【问题描述】:
我正在使用 CSS 平滑滚动 - 通过单击 div 触发。
现在我想禁用手动滚动,因此您只能通过单击该 div 而不能通过实际滚动来滚动。
有可能吗?谢谢。
【问题讨论】:
-
欢迎来到 Stack Overflow!访问help center,使用tour 了解内容和How to Ask。请先>>>Search for related topics on SO,如果您遇到困难,请发布您的尝试的minimal reproducible example,并使用
[<>]记录输入和预期输出sn-p 编辑器。
标签: html css user-interface scroll css-transitions