mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Wrap .fade and .collapsing transition properties in -transitions
This commit is contained in:
parent
990a901e52
commit
6e16a6b40a
@ -1,6 +1,9 @@
|
||||
.fade {
|
||||
opacity: 0;
|
||||
|
||||
@if $enable-transitions {
|
||||
transition: opacity .15s linear;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
@ -30,7 +33,10 @@ tbody {
|
||||
position: relative;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
@if $enable-transitions {
|
||||
transition-timing-function: ease;
|
||||
transition-duration: .35s;
|
||||
transition-property: height;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user