0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 20:54:22 +01:00
Bootstrap/scss/_transitions.scss

31 lines
533 B
SCSS
Raw Normal View History

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