aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-05-03 17:32:54 -0700
committerMark Otto <[email protected]>2013-05-03 17:32:54 -0700
commitc3b9ac4676a72f19c9201972725ac524b875fffe (patch)
tree78e74a0b7bbe01a731d10e8c0a4ca4f46daa3d97
parent7d41a387693c49347e06572ceb7ec2207ee30d46 (diff)
parentd3e0d4a7baad213ccbfa8049d5f920ed1863b76b (diff)
downloadbootstrap-c3b9ac4676a72f19c9201972725ac524b875fffe.tar.xz
bootstrap-c3b9ac4676a72f19c9201972725ac524b875fffe.zip
Merge pull request #7621 from jeremydenoun/patch-1
Fix flickering on progress bar width update
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/progress-bars.less1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index e1260c7d5..df1432dcb 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -4895,6 +4895,9 @@ a.list-group-item.active > .badge,
-moz-transition: width 0.6s ease;
-o-transition: width 0.6s ease;
transition: width 0.6s ease;
+ -webkit-backface-visibility: hidden;
+ -moz-backface-visibility: hidden;
+ backface-visibility: hidden;
}
.progress-striped .progress-bar {
diff --git a/less/progress-bars.less b/less/progress-bars.less
index 9df0251e3..e5e6b65a5 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -63,6 +63,7 @@
background-color: @progress-bar-bg;
.box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
.transition(width .6s ease);
+ .backface-visibility(hidden);
}
// Striped bars