aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorLipis <[email protected]>2014-02-26 17:59:36 +0100
committerLipis <[email protected]>2014-02-26 17:59:36 +0100
commitb878491b9a76e2c85787e38e6cc878cd3dca909f (patch)
treec4aec7a38f16282f77047e204f23eba1cf924941 /less
parent7b386a566f6f199698f200d9dff4b8cf5da3ed07 (diff)
downloadbootstrap-b878491b9a76e2c85787e38e6cc878cd3dca909f.tar.xz
bootstrap-b878491b9a76e2c85787e38e6cc878cd3dca909f.zip
Added the very useful .animation-fill-mode() mixin
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
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/less/mixins.less b/less/mixins.less
index 4432cfc2d..0b4cf88a9 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -243,6 +243,10 @@
-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.