]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
speed up topbar animation for responsive
authorJacob Thornton <jacobthornton@gmail.com>
Mon, 30 Jan 2012 21:59:05 +0000 (13:59 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Mon, 30 Jan 2012 21:59:05 +0000 (13:59 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap-responsive.css
less/responsive.less

index 300737ac4918711e56b3ec15fb02d70fdf4f4b86..fed424c466b0989ec97b311e8d524ccd83a357f5 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 8fe389563a31287b52e80fbb09eb4dbc244b943d..f00ec1de366a12586de0fac484e63e5041f6bc50 100644 (file)
   .nav-collapse {
     overflow: hidden;
     height: 0;
+    -webkit-transform: translate3d(0, 0, 0);
   }
 }
 @media (min-width: 940px) {
index e9920251eaf65d4eca545b79fc92535db331d568..2956254386be3a9585d6a246f55bbb54282e5b94 100644 (file)
   .nav-collapse {
     overflow: hidden;
     height: 0;
+    -webkit-transform: translate3d(0, 0, 0); // activate the GPU
   }
 }
 
 
   // Fluid grid
   #fluidGridSystem > .generate(12, 5.982905983%, 2.564102564%);
-  
+
   // Input grid
   #inputGridSystem > .generate(12, 70px, 30px);