2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

Wrap .fade and .collapsing transition properties in -transitions

This commit is contained in:
Mark Otto
2016-11-25 22:06:40 -08:00
parent 990a901e52
commit 6e16a6b40a
+10 -4
View File
@@ -1,6 +1,9 @@
.fade {
opacity: 0;
transition: opacity .15s linear;
@if $enable-transitions {
transition: opacity .15s linear;
}
&.active {
opacity: 1;
@@ -30,7 +33,10 @@ tbody {
position: relative;
height: 0;
overflow: hidden;
transition-timing-function: ease;
transition-duration: .35s;
transition-property: height;
@if $enable-transitions {
transition-timing-function: ease;
transition-duration: .35s;
transition-property: height;
}
}