Created
November 26, 2020 13:07
-
-
Save johnRivs/b8959be7fc30cbe40e8db9a55d375a19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on https://twitter.com/argyleink/status/1312380632681586689 */ | |
/* Can be combined with flex */ | |
.horizontal-scrollview { | |
overflow: auto hidden; | |
-webkit-overflow-scrolling: touch; | |
scroll-behavior: smooth; | |
overscroll-behavior-x: contain; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment