]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added the very useful .animation-fill-mode() mixin 12855/head
authorLipis <lipis@users.noreply.github.com>
Wed, 26 Feb 2014 16:59:36 +0000 (17:59 +0100)
committerLipis <lipis@users.noreply.github.com>
Wed, 26 Feb 2014 16:59:36 +0000 (17:59 +0100)
I think that's the only animation property that was missing and it's quite useful.

https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode

less/mixins.less

index 4432cfc2dbb9413823f852fc1b6253c026d62860..0b4cf88a93a0e622f97aa9cea5cabdefb5a1ae81 100644 (file)
   -webkit-animation-direction: @direction;
           animation-direction: @direction;
 }
+.animation-fill-mode(@fill-mode) {
+  -webkit-animation-fill-mode: @fill-mode;
+          animation-fill-mode: @fill-mode;
+}
 
 // Backface visibility
 // Prevent browsers from flickering when using CSS 3D transforms.