0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/scss/_transitions.scss

28 lines
425 B
SCSS
Raw Normal View History

.fade {
@include transition($transition-fade);
2014-12-02 23:02:35 +01:00
&:not(.show) {
opacity: 0;
}
}
// scss-docs-start collapse-classes
.collapse {
&:not(.show) {
display: none;
2016-10-03 06:23:04 +02:00
}
}
.collapsing {
height: 0;
overflow: hidden;
@include transition($transition-collapse);
2021-06-14 22:25:11 +02:00
&.collapse-horizontal {
width: 0;
height: auto;
@include transition($transition-collapse-width);
}
2012-05-21 02:56:57 +02:00
}
// scss-docs-end collapse-classes