在水平滚动条移动时隐藏/显示框阴影

时间:2022-12-05 21:31:14

Is it possible to make the right box shadow to hide when the horizontal scroll bar reaches the end of the table and shadow should appear when the scroll bar is moved to the left hand side.

当水平滚动条到达表的末尾时是否可以隐藏正确的框阴影,并且当滚动条移动到左侧时应该出现阴影。

1 个解决方案

#1


1  

When you want to react on scrollbar position or movement you will most likely need javascript.

当你想对滚动条位置或移动作出反应时,你很可能需要javascript。

If you post an example of your case (html/css) I might be able to give you a better answer :)

如果你发布你的案例(html / css)的例子我可能会给你一个更好的答案:)

#1


1  

When you want to react on scrollbar position or movement you will most likely need javascript.

当你想对滚动条位置或移动作出反应时,你很可能需要javascript。

If you post an example of your case (html/css) I might be able to give you a better answer :)

如果你发布你的案例(html / css)的例子我可能会给你一个更好的答案:)