aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less7
-rw-r--r--less/progress-bars.less6
2 files changed, 7 insertions, 6 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 4e842ed87..f06d6a89b 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -193,12 +193,17 @@
-moz-perspective-origin: @perspective;
perspective-origin: @perspective;
}
-.transform-origin(@origin){
+.transform-origin(@origin) {
-webkit-transform-origin: @origin;
-moz-transform-origin: @origin;
transform-origin: @origin;
}
+// Animations
+.animation(@animation) {
+ -webkit-animation: @animation;
+ animation: @animation;
+}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
diff --git a/less/progress-bars.less b/less/progress-bars.less
index d0bb19e02..507c82dbd 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -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);
}