mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
f893ec7a75
* #22600: prevent display:block for visible content * allow transition for elements with show class
22 lines
311 B
SCSS
22 lines
311 B
SCSS
// stylelint-disable selector-no-qualifying-type
|
|
|
|
.fade {
|
|
@include transition($transition-fade);
|
|
|
|
&:not(.show) {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.collapse {
|
|
&:not(.show) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.collapsing {
|
|
position: relative;
|
|
height: 0;
|
|
overflow: hidden;
|
|
@include transition($transition-collapse);
|
|
}
|