to make an effect that scrolls horizontally on the mobile:
chrome-webkit-
-moz-:
found a lot of information, or just remove the scroll bar under Firefox, but not scroll under chrome, how to do it?
ask for advice, thank you!
to make an effect that scrolls horizontally on the mobile:
chrome-webkit-
-moz-:
found a lot of information, or just remove the scroll bar under Firefox, but not scroll under chrome, how to do it?
ask for advice, thank you!
scrollbar-width: none;
I just encountered this problem in the project and tried it at random. You can try
(compatibility is not guaranteed, my version is FF64)
hiding the scroll bar does not mean not scrolling
do not scroll using overflow:hidden
Mobile needs to consider moz?
well, if you really need to think about it, just group overflow:hidden
and simulate scrolling with js.
I have been looking for a solution for a long time these days, and the following should be regarded as a solution.
as shown in the figure, the red box on the left is the content, the red box on the right is the slider bar, and then the gray box is the display area.
is equivalent to hiding. (see coinbase)