]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `.animation-*()` mixins 11326/head
authorZlatan Vasović <legospace9876@gmail.com>
Fri, 1 Nov 2013 20:25:23 +0000 (21:25 +0100)
committerZlatan Vasović <legospace9876@gmail.com>
Sun, 8 Dec 2013 10:54:04 +0000 (11:54 +0100)
less/mixins.less

index 4718cb2c0c3d8e79330b5e2d5414b3a5cf18749e..e00e838ea6fc35d196bccef4fc636488ac82df59 100644 (file)
   -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.