mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Wrap .fade and .collapsing transition properties in -transitions
This commit is contained in:
+10
-4
@@ -1,6 +1,9 @@
|
|||||||
.fade {
|
.fade {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity .15s linear;
|
|
||||||
|
@if $enable-transitions {
|
||||||
|
transition: opacity .15s linear;
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -30,7 +33,10 @@ tbody {
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition-timing-function: ease;
|
|
||||||
transition-duration: .35s;
|
@if $enable-transitions {
|
||||||
transition-property: height;
|
transition-timing-function: ease;
|
||||||
|
transition-duration: .35s;
|
||||||
|
transition-property: height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user