0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-06 04:08:22 +01:00

Add .animation() mixin

This commit is contained in:
Zlatan Vasović 2013-10-26 14:11:59 +02:00
parent 4fac7b6d25
commit aff291e1ca
4 changed files with 8 additions and 10 deletions

View File

@ -5410,9 +5410,6 @@ a.thumbnail.active {
.progress.active .progress-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;
}

File diff suppressed because one or more lines are too long

View File

@ -199,6 +199,11 @@
transform-origin: @origin;
}
// Animations
.animation(@animation) {
-webkit-animation: @animation;
animation: @animation;
}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.

View File

@ -67,11 +67,7 @@
// Call animation for the active one
.progress.active .progress-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;
.animation(progress-bar-stripes 2s linear infinite);
}