]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added -o- and -ms- prefixes to animations CSS 2783/head
authorAndreas Bovens <abovens+github@gmail.com>
Sat, 24 Mar 2012 17:53:27 +0000 (18:53 +0100)
committerAndreas Bovens <abovens+github@gmail.com>
Sat, 24 Mar 2012 17:53:27 +0000 (18:53 +0100)
Added -o- and -ms- prefixes to make the animated progress bars to work
in the latest/upcoming versions of IE and Opera.

docs/assets/css/bootstrap.css
less/progress-bars.less

index 495188af7faca02cfd553ebb7c809ee469cf1a8b..118eb10ca0b1dda28757f76c6e4b1305f55aa511 100644 (file)
@@ -3753,6 +3753,8 @@ a.thumbnail:hover {
 .progress.active .bar {
   -webkit-animation: progress-bar-stripes 2s linear infinite;
   -moz-animation: progress-bar-stripes 2s linear infinite;
+  -ms-animation: progress-bar-stripes 2s linear infinite;
+  -o-animation: progress-bar-stripes 2s linear infinite;
   animation: progress-bar-stripes 2s linear infinite;
 }
 .progress-danger .bar {
index 5979a3691512e3e3ad51a4226057478ac87a6f24..e6e30b34c472846245809180f12e95e534995462 100644 (file)
   to    { background-position: 40px 0; }
 }
 
+// Opera
+@-o-keyframes progress-bar-stripes {
+  from  { background-position: 0 0; }
+  to    { background-position: 40px 0; }
+}
+
 // Spec
 @keyframes progress-bar-stripes {
   from  { background-position: 0 0; }
@@ -68,6 +74,8 @@
 .progress.active .bar {
   -webkit-animation: progress-bar-stripes 2s linear infinite;
      -moz-animation: progress-bar-stripes 2s linear infinite;
+      -ms-animation: progress-bar-stripes 2s linear infinite;
+       -o-animation: progress-bar-stripes 2s linear infinite;
           animation: progress-bar-stripes 2s linear infinite;
 }