Skip to content

Instantly share code, notes, and snippets.

@asakasinsky
Created December 14, 2014 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asakasinsky/b0900e1d19d01244ecba to your computer and use it in GitHub Desktop.
Save asakasinsky/b0900e1d19d01244ecba to your computer and use it in GitHub Desktop.
.b-scroller {
position:absolute;
z-index: 200;
width: 100%;
height: 100%;
padding:0;
overflow: hidden;
background: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
/* Prevent the callout on tap-hold and text selection */
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
/* Prevent text resize on orientation change, useful for web-apps */
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
-o-text-size-adjust: none;
text-size-adjust: none;
}
.scroller {
z-index: 203;
list-style: none;
padding: 0;
margin: 0;
width: 100%;
text-align: left;
}
.list-top-padding {
height: 60px;
line-height: 60px;
border: none;
}
.list-bottom-padding {
height: 110px;
line-height: 110px;
border: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment