How to scroll the content in the left and right direction on hitting an arrow in mobile view?
问题 I have a fiddle which is working in a way that when I take it in the mobile view, the square boxes horizontally scroll. The CSS codes which I have used for that are: @media only screen and (max-width: 767px) { .product-all-contents { overflow-x: auto; } .product-contents .product{ min-width: 50.795%; margin: 0 2%; padding-top: 3.91%; padding-left: 3.91%; padding-right: 3.91%; } } Problem Statement: I am wondering what changes I should make in the fiddle so that when I hit arrows in the mobile