Skip to content

Instantly share code, notes, and snippets.

@robpataki
Last active June 9, 2016 15:10
Show Gist options
  • Save robpataki/bfa684b0d72bb94ca5f9c21d2f3c662c to your computer and use it in GitHub Desktop.
Save robpataki/bfa684b0d72bb94ca5f9c21d2f3c662c to your computer and use it in GitHub Desktop.
/* Prevent overflow scroll bouncing on mac */
/* http://stackoverflow.com/questions/12046315/prevent-overscrolling-of-web-page */
html {
overflow: hidden;
height: 100%;
}
body {
height: 100%;
overflow: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment