2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Add mixin for transition-property

It's quite handy if a transition needs the same duration, timing-function or delay and only specific properties to animate.
This commit is contained in:
Felix Hirschfeld
2013-08-23 09:22:54 +02:00
parent 24f57bdf41
commit c52e1b85ab
+4
View File
@@ -112,6 +112,10 @@
-webkit-transition: @transition;
transition: @transition;
}
.transition-property(@transition-property) {
-webkit-transition-property: @transition-property;
transition-property: @transition-property;
}
.transition-delay(@transition-delay) {
-webkit-transition-delay: @transition-delay;
transition-delay: @transition-delay;