mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
b226766b62
* Remove comment that duplicated some code * Use transition mixin whenever possible * Create a new function to reduce duplication * Use the new `breakpoint-infix` method
37 lines
411 B
SCSS
37 lines
411 B
SCSS
.fade {
|
|
opacity: 0;
|
|
|
|
@include transition(opacity .15s linear);
|
|
|
|
&.active {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.collapse {
|
|
display: none;
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
tr {
|
|
&.collapse.active {
|
|
display: table-row;
|
|
}
|
|
}
|
|
|
|
tbody {
|
|
&.collapse.active {
|
|
display: table-row-group;
|
|
}
|
|
}
|
|
|
|
.collapsing {
|
|
position: relative;
|
|
height: 0;
|
|
overflow: hidden;
|
|
|
|
@include transition(height .35s ease);
|
|
}
|