aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 18:58:41 -0800
committerMark Otto <[email protected]>2013-12-14 18:58:41 -0800
commite98c2dc3adfb3e480012454bb5f170c48cf99c45 (patch)
treeaa2d54ec5ebfa0ac9b93b0bb624cd33be265fbb6
parent35dd6b9fd7a9d06c7bc630abe391bfdf0f4ba644 (diff)
parent77bc82d486d8c3cf58bd1ba48d57fcfa87509837 (diff)
downloadbootstrap-e98c2dc3adfb3e480012454bb5f170c48cf99c45.tar.xz
bootstrap-e98c2dc3adfb3e480012454bb5f170c48cf99c45.zip
Merge pull request #11326 from ZDroid/animations
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 dbe9ed4a7..ae4acd34e 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -202,6 +202,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.