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:
parent
24f57bdf41
commit
c52e1b85ab
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue