Mozilla Developerhttps://developer.mozilla.org › › Web › API › Element › scrollLeftElement.scrollLeft Element.scrollLeft 属性可以读取或设置元素滚动条到元素左边的距离。 注意如果这个元素的内容排列方向(direction)是 rtl (right-to-left) ,那么滚动条会位于最右侧(内容开 更多内容请查看https://developer.mozilla.org/zh-CN/docs/Web/API/Element/scrollLeft