1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Add variables for transitions (#21345)

* Add variables for transitions

* Add variables for transitions
This commit is contained in:
Tom Lutzenberger
2016-12-20 05:33:17 +01:00
committed by Mark Otto
parent 372d156f21
commit e1653edb95
8 changed files with 25 additions and 8 deletions

View File

@@ -10,7 +10,11 @@
@mixin transition($transition...) {
@if $enable-transitions {
transition: $transition;
@if length($transition) == 0 {
transition: $transition-base;
} @else {
transition: $transition;
}
}
}