Skip to content

Instantly share code, notes, and snippets.

@Nyaacinth
Nyaacinth / index.css
Created January 24, 2024 05:54
A potential index.css of your web app to disable Safari's overscroll bounces effect without affecting other browsers
html {
/** Uncomment below to disable Pull to Refresh */
/* overscroll-behavior: none; */
height: 100vh;
width: 100vw;
}
@supports (height: 100dvh) and (width: 100dvw) {
html {
height: 100dvh;
width: 100dvw;