mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +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;
|
|
}
|