mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
19 lines
264 B
Plaintext
19 lines
264 B
Plaintext
|
// COMPONENT ANIMATIONS
|
||
|
// --------------------
|
||
|
|
||
|
.fade {
|
||
|
.transition(opacity .15s linear);
|
||
|
opacity: 0;
|
||
|
&.in {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.collapse {
|
||
|
.transition(height .35s ease);
|
||
|
position:relative;
|
||
|
overflow:hidden;
|
||
|
height: 0;
|
||
|
&.in { height: auto; }
|
||
|
}
|