Skip to content

Instantly share code, notes, and snippets.

@bdalziel
Created June 27, 2012 17:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdalziel/3005518 to your computer and use it in GitHub Desktop.
Save bdalziel/3005518 to your computer and use it in GitHub Desktop.
Simple horizontal scroll with native feel and no flicker following transitions
#issues {
width: 100%;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
overflow-x: scroll;
-webkit-overflow-scrolling:touch;
ul, li {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
}
li {
display: inline-block;
-webkit-backface-visibility: hidden;
-webkit-transform: translate3d(0,0,0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment