W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
CSS scroll-padding-right 属性,双向吸附
向容器中间滚动,停止滚动,观察 scroll-padding-right 属性如何在容器右侧与元素之间创建 30px 的距离。