0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Added -o- and -ms- prefixes to animations CSS

Added -o- and -ms- prefixes to make the animated progress bars to work
in the latest/upcoming versions of IE and Opera.
This commit is contained in:
Andreas Bovens 2012-03-24 18:53:27 +01:00
parent d335adf644
commit de0aaff433
2 changed files with 10 additions and 0 deletions

View File

@ -3753,6 +3753,8 @@ a.thumbnail:hover {
.progress.active .bar { .progress.active .bar {
-webkit-animation: progress-bar-stripes 2s linear infinite; -webkit-animation: progress-bar-stripes 2s linear infinite;
-moz-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; animation: progress-bar-stripes 2s linear infinite;
} }
.progress-danger .bar { .progress-danger .bar {

View File

@ -23,6 +23,12 @@
to { background-position: 40px 0; } to { background-position: 40px 0; }
} }
// Opera
@-o-keyframes progress-bar-stripes {
from { background-position: 0 0; }
to { background-position: 40px 0; }
}
// Spec // Spec
@keyframes progress-bar-stripes { @keyframes progress-bar-stripes {
from { background-position: 0 0; } from { background-position: 0 0; }
@ -68,6 +74,8 @@
.progress.active .bar { .progress.active .bar {
-webkit-animation: progress-bar-stripes 2s linear infinite; -webkit-animation: progress-bar-stripes 2s linear infinite;
-moz-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; animation: progress-bar-stripes 2s linear infinite;
} }