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:
parent
24f57bdf41
commit
c52e1b85ab
@ -112,6 +112,10 @@
|
|||||||
-webkit-transition: @transition;
|
-webkit-transition: @transition;
|
||||||
transition: @transition;
|
transition: @transition;
|
||||||
}
|
}
|
||||||
|
.transition-property(@transition-property) {
|
||||||
|
-webkit-transition-property: @transition-property;
|
||||||
|
transition-property: @transition-property;
|
||||||
|
}
|
||||||
.transition-delay(@transition-delay) {
|
.transition-delay(@transition-delay) {
|
||||||
-webkit-transition-delay: @transition-delay;
|
-webkit-transition-delay: @transition-delay;
|
||||||
transition-delay: @transition-delay;
|
transition-delay: @transition-delay;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user