Skip to content

Instantly share code, notes, and snippets.

@jmwhittaker
Created January 9, 2012 17:29
Show Gist options
  • Save jmwhittaker/1584017 to your computer and use it in GitHub Desktop.
Save jmwhittaker/1584017 to your computer and use it in GitHub Desktop.
Prevent 'rubber band' scrolling in Lion
/* To prevent rubber band scrolling in Lion */
body {
overflow:hidden;
height:100%;
}
/* Also look to add in -webkit-overflow-scrolling for touch iOS 5 < devices */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment