Created
July 19, 2013 22:03
-
-
Save tylersticka/6042662 to your computer and use it in GitHub Desktop.
Revisions
-
tylersticka created this gist
Jul 19, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ // Native scrolling (iOS 5+, Android 4+) .scrollable { overflow: auto; // Fallback for non-touch browsers -webkit-overflow-scrolling: touch; // Native-esque scrolling on touch-enabled webkit // Everything below here improves performance of scrolling. You can omit this at // first and add as your content becomes more complex and performance needs a boost. &, > * { -webkit-backface-visibility: hidden; } > * { position: relative; @include translate3d(0,0,0); } }