Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-31 01:59:05 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-31 01:59:05 +0400
commit155047c3e6cfe589f1f244cdeb4e37244ab206ca (patch)
treea43d64eadb110575114491879032ec5bcb6853a4
parent74f2a89611b818fda662dbbbb5d978549cae14c2 (diff)
speed up topbar animation for responsive
-rw-r--r--docs/assets/bootstrap.zipbin52238 -> 52285 bytes
-rw-r--r--docs/assets/css/bootstrap-responsive.css1
-rw-r--r--less/responsive.less3
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 300737ac49..fed424c466 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index 8fe389563a..f00ec1de36 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -374,6 +374,7 @@
.nav-collapse {
overflow: hidden;
height: 0;
+ -webkit-transform: translate3d(0, 0, 0);
}
}
@media (min-width: 940px) {
diff --git a/less/responsive.less b/less/responsive.less
index e9920251ea..2956254386 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -278,6 +278,7 @@
.nav-collapse {
overflow: hidden;
height: 0;
+ -webkit-transform: translate3d(0, 0, 0); // activate the GPU
}
}
@@ -304,7 +305,7 @@
// Fluid grid
#fluidGridSystem > .generate(12, 5.982905983%, 2.564102564%);
-
+
// Input grid
#inputGridSystem > .generate(12, 70px, 30px);