aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZlatan Vasović <[email protected]>2013-11-01 21:25:23 +0100
committerZlatan Vasović <[email protected]>2013-12-08 11:54:04 +0100
commit77bc82d486d8c3cf58bd1ba48d57fcfa87509837 (patch)
treef575aa97aa89825065249531191331154e16dcca
parent19fdd707efecbb7fa26be242b6785a3bf9bf0211 (diff)
downloadbootstrap-77bc82d486d8c3cf58bd1ba48d57fcfa87509837.tar.xz
bootstrap-77bc82d486d8c3cf58bd1ba48d57fcfa87509837.zip
Add `.animation-*()` mixins
-rw-r--r--less/mixins.less24
1 files changed, 24 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 4718cb2c0..e00e838ea 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -204,6 +204,30 @@
-webkit-animation: @animation;
animation: @animation;
}
+.animation-name(@name) {
+ -webkit-animation-name: @name;
+ animation-name: @name;
+}
+.animation-duration(@duration) {
+ -webkit-animation-duration: @duration;
+ animation-duration: @duration;
+}
+.animation-timing-function(@timing-function) {
+ -webkit-animation-timing-function: @timing-function;
+ animation-timing-function: @timing-function;
+}
+.animation-delay(@delay) {
+ -webkit-animation-delay: @delay;
+ animation-delay: @delay;
+}
+.animation-iteration-count(@iteration-count) {
+ -webkit-animation-iteration-count: @iteration-count;
+ animation-iteration-count: @iteration-count;
+}
+.animation-direction(@direction) {
+ -webkit-animation-direction: @direction;
+ animation-direction: @direction;
+}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.