Created
March 31, 2023 09:09
-
-
Save pattanunNP/01a832c278c22c9bcd6377ee7826f302 to your computer and use it in GitHub Desktop.
This file contains 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
body { | |
-webkit-tap-highlight-color: transparent; | |
overscroll-behavior-y: none; | |
touch-action: none; | |
-webkit-overflow-scrolling: none; | |
overflow: hidden; | |
/* Other browsers */ | |
overscroll-behavior: none; | |
} | |
/* Avoid Chrome to see Safari hack */ | |
@supports (-webkit-touch-callout: none) { | |
.fix-safari { | |
/* The hack for Safari */ | |
height: -webkit-fill-available; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment