I have a div element with horizontal overflow, allowing it to be scrolled left and right. What I want to achieve is that when I scroll down on the element, it should scroll to the right, and when I scroll up, it should scroll to the left.
Is it possible to implement this behavior using JavaScript or CSS? Any guidance or examples would be greatly appreciated!