0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01: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

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;