mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
34 lines
548 B
SCSS
34 lines
548 B
SCSS
//
|
|
// Component animations
|
|
// --------------------------------------------------
|
|
|
|
.fade {
|
|
opacity: 0;
|
|
transition: opacity .15s linear;
|
|
|
|
&.in {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.collapse {
|
|
display: none;
|
|
visibility: hidden;
|
|
|
|
&.in {
|
|
display: block;
|
|
visibility: visible;
|
|
}
|
|
// tr&.in { display: table-row; }
|
|
// tbody&.in { display: table-row-group; }
|
|
}
|
|
|
|
.collapsing {
|
|
position: relative;
|
|
height: 0;
|
|
overflow: hidden;
|
|
transition-timing-function: ease;
|
|
transition-duration: .35s;
|
|
transition-property: height, visibility;
|
|
}
|