Created
June 27, 2012 17:22
-
-
Save bdalziel/3005518 to your computer and use it in GitHub Desktop.
Simple horizontal scroll with native feel and no flicker following transitions
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
#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